From df9b74ea065193b103109513f178d9fd27e0cdc6 Mon Sep 17 00:00:00 2001
From: Zoltan Kepes <74784960+Zolske@users.noreply.github.com>
Date: Sat, 17 Dec 2022 10:52:54 +0000
Subject: [PATCH] missing "{}" to list ingredients
There is a small typo, "{ }" are missing around the "ing" on line 21 in the
tag.
Thank you for the amazing content :) , you are my hero.
---
cooking-ninja/src/pages/recipe/Recipe.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cooking-ninja/src/pages/recipe/Recipe.js b/cooking-ninja/src/pages/recipe/Recipe.js
index 4992f1165..0aae33085 100644
--- a/cooking-ninja/src/pages/recipe/Recipe.js
+++ b/cooking-ninja/src/pages/recipe/Recipe.js
@@ -18,11 +18,11 @@ export default function Recipe() {
{recipe.title}
Takes {recipe.cookingTime} to cook.
- {recipe.ingredients.map(ing => - ing
)}
+ {recipe.ingredients.map(ing => - {ing}
)}
{recipe.method}
>
)}
)
-}
\ No newline at end of file
+}