add servings information to recipe
This commit is contained in:
parent
5c8ddf96f2
commit
fee47da55d
7 changed files with 71 additions and 8 deletions
|
|
@ -29,6 +29,7 @@ export default function RecipeDetailView() {
|
|||
|
||||
{/* Ingredients */}
|
||||
<h2 className="section-heading">Zutaten</h2>
|
||||
<p>For {recipe.servings.amount} {recipe.servings.unit}</p>
|
||||
<ul className="default-list-item">
|
||||
{recipe.ingredients.map((ing, i) => (
|
||||
<li key={i}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue