From 1ddce5f48cd17bde61545484683e88226a5850fc Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Thu, 16 Apr 2026 18:26:09 +0200 Subject: [PATCH] feat: initialize state for image URL in WriteRecipePage component --- frontend/app/recipes/write/WriteRecipePage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/recipes/write/WriteRecipePage.tsx b/frontend/app/recipes/write/WriteRecipePage.tsx index 9c0bd4d3..93f761ed 100644 --- a/frontend/app/recipes/write/WriteRecipePage.tsx +++ b/frontend/app/recipes/write/WriteRecipePage.tsx @@ -43,6 +43,7 @@ export default function WriteRecipePage() { const [editedName, setEditedName] = useState(''); const [editedDescription, setEditedDescription] = useState(''); const [editedInstructions, setEditedInstructions] = useState(''); + const [imageUrl, setImageUrl] = useState(null); const [ingredients, setIngredients] = useState([]); const [allProducts, setAllProducts] = useState([]); const [isParsing, setIsParsing] = useState(false);