fix recalculating ingredients

This commit is contained in:
Anika Raemer 2025-09-08 18:58:48 +02:00
parent f23aab4b3f
commit 3eefa41a28
3 changed files with 26 additions and 10 deletions

View file

@ -53,7 +53,6 @@ export default function RecipeEditor({ recipe, onSave, onCancel }: RecipeEditorP
return !ingGrp.ingredientList || ingGrp.ingredientList.length === 0
}
)
console.log(isAnyIngredientListEmpty)
if(isAnyIngredientListEmpty){
newErrors.ingredients = true
}