mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
fix collection page.
This commit is contained in:
@@ -33,8 +33,9 @@ export default function CollectionPage() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (app.getPreFetchData()?.collection?.id === idInt) {
|
const prefetchData = app.getPreFetchData();
|
||||||
setCollection(app.getPreFetchData().collection);
|
if (prefetchData?.collection?.id === idInt) {
|
||||||
|
setCollection(prefetchData.collection);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user