Fix <RecipeHeader /> prop

This commit is contained in:
Sam Becker 2025-04-10 20:53:56 -05:00
parent 7d7b05c742
commit 7bf5b4fbf7

View File

@ -5,6 +5,7 @@ import PhotoHeader from '@/photo/PhotoHeader';
import PhotoRecipe from './PhotoRecipe';
import { useAppState } from '@/state/AppState';
import { descriptionForRecipePhotos, getPhotoWithRecipeFromPhotos } from '.';
export default function RecipeHeader({
recipe,
photos,
@ -30,7 +31,7 @@ export default function RecipeHeader({
entity={<PhotoRecipe
recipe={recipe}
contrast="high"
shouldShowRecipeOverlay={Boolean(recipeModalProps)}
isShowingRecipeOverlay={Boolean(recipeModalProps)}
toggleRecipeOverlay={() => (
photo?.recipeData &&
photo?.film