fix recalculating ingredients
This commit is contained in:
parent
f23aab4b3f
commit
3eefa41a28
3 changed files with 26 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue