diff --git a/src/app/p/[photoId]/layout.tsx b/src/app/p/[photoId]/layout.tsx index 31a9e235..6e524928 100644 --- a/src/app/p/[photoId]/layout.tsx +++ b/src/app/p/[photoId]/layout.tsx @@ -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 () => {