Make dynamic explicitly 'auto' on [photoId] layout

This commit is contained in:
Sam Becker 2024-04-20 20:33:10 -05:00
parent e0110e00fc
commit f01ce37df7

View File

@ -16,6 +16,8 @@ import { getPhotoIds, getPhotosNearId } from '@/services/vercel-postgres';
import { STATICALLY_OPTIMIZED } from '@/site/config'; import { STATICALLY_OPTIMIZED } from '@/site/config';
import { cache } from 'react'; import { cache } from 'react';
export const dynamic = 'auto';
const getPhotosNearIdCached = cache(getPhotosNearId); const getPhotosNearIdCached = cache(getPhotosNearId);
export let generateStaticParams: export let generateStaticParams: