import SiteGrid from '@/components/SiteGrid'; import { getPhoto, getPhotos } from '@/photo/db/query'; import PhotoRecipeOverlay from '@/photo/PhotoRecipeOverlay'; export default async function AdminRecipePage({ params, }: { params: Promise<{ photoId: string }> }) { const { photoId } = await params; const photo = await getPhoto(photoId); const photosHidden = await getPhotos({ hidden: 'only' }); const { filmSimulation } = photo!; const { fujifilmRecipe } = photosHidden[0]; return ( :
Can't find photo/recipe
} /> ); }