From f01ce37df7d0d896fa0d3d1ddd82ca0fc3bb6b84 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 20 Apr 2024 20:33:10 -0500 Subject: [PATCH] Make dynamic explicitly 'auto' on [photoId] layout --- src/app/p/[photoId]/layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/p/[photoId]/layout.tsx b/src/app/p/[photoId]/layout.tsx index eec1d49d..b789bd74 100644 --- a/src/app/p/[photoId]/layout.tsx +++ b/src/app/p/[photoId]/layout.tsx @@ -16,6 +16,8 @@ import { getPhotoIds, getPhotosNearId } from '@/services/vercel-postgres'; import { STATICALLY_OPTIMIZED } from '@/site/config'; import { cache } from 'react'; +export const dynamic = 'auto'; + const getPhotosNearIdCached = cache(getPhotosNearId); export let generateStaticParams: