Fix pre-rendering error
This commit is contained in:
parent
dddf1f39c5
commit
6af00c94f6
@ -41,10 +41,13 @@ export default async function AboutEditPage() {
|
|||||||
photoHero,
|
photoHero,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
getPhotosCached(PHOTO_CHOOSER_QUERY_OPTIONS),
|
getPhotosCached(PHOTO_CHOOSER_QUERY_OPTIONS)
|
||||||
|
.catch(() => []),
|
||||||
getPhotosMetaCached(PHOTO_CHOOSER_QUERY_OPTIONS)
|
getPhotosMetaCached(PHOTO_CHOOSER_QUERY_OPTIONS)
|
||||||
.then(({ count }) => count),
|
.then(({ count }) => count)
|
||||||
getPhotosCached({ hidden: 'only', limit: 1000 }),
|
.catch(() => 0),
|
||||||
|
getPhotosCached({ hidden: 'only', limit: 1000 })
|
||||||
|
.catch(() => []),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user