add calculation of ingredients based on servings
This commit is contained in:
parent
fee47da55d
commit
e467ca7e92
5 changed files with 63 additions and 14 deletions
|
|
@ -20,6 +20,7 @@ export default function RecipeEditor({ recipe, onSave, onCancel }: RecipeEditorP
|
|||
setDraft({ ...draft, ingredients })
|
||||
}
|
||||
if (!recipe) return <div>Oops, there's no recipe in RecipeEditor...</div>
|
||||
// @todo add handling of images
|
||||
return (
|
||||
<div className="p-4 gap-10">
|
||||
<h2 className="content-title">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue