Resume explicitly setting generateStaticParams
This commit is contained in:
parent
b429c4773c
commit
20d2d11f8c
@ -17,7 +17,8 @@ import { getPhotoIds } from '@/services/vercel-postgres';
|
||||
import { STATICALLY_OPTIMIZED } from '@/site/config';
|
||||
|
||||
export let generateStaticParams:
|
||||
(() => Promise<{ params: { photoId: string } }[]>) | undefined;
|
||||
(() => Promise<{ params: { photoId: string } }[]>) |
|
||||
undefined = undefined;
|
||||
|
||||
if (STATICALLY_OPTIMIZED) {
|
||||
generateStaticParams = async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user