Resume explicitly setting generateStaticParams

This commit is contained in:
Sam Becker 2024-02-28 14:34:52 -06:00
parent b429c4773c
commit 20d2d11f8c

View File

@ -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 () => {