diff --git a/src/app/film/[simulation]/[photoId]/layout.tsx b/src/app/film/[simulation]/[photoId]/layout.tsx index 63107a59..83297f2a 100644 --- a/src/app/film/[simulation]/[photoId]/layout.tsx +++ b/src/app/film/[simulation]/[photoId]/layout.tsx @@ -15,7 +15,7 @@ import { ReactNode, cache } from 'react'; import { FilmSimulation } from '@/simulation'; import { getPhotosFilmSimulationDataCached } from '@/simulation/data'; -export const getPhotoCachedCached = +const getPhotoCachedCached = cache((photoId: string) => getPhotoCached(photoId)); interface PhotoFilmSimulationProps {