From 6a32a54380ccf61be9ecd3624c3aa87f0aa8f76b Mon Sep 17 00:00:00 2001 From: Ben Miles Date: Tue, 10 Sep 2024 00:41:23 -0400 Subject: [PATCH] Update Image Paths --- src/ItemsView.jsx | 2 +- src/ListView.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ItemsView.jsx b/src/ItemsView.jsx index 7f735fc..42ffe45 100644 --- a/src/ItemsView.jsx +++ b/src/ItemsView.jsx @@ -24,7 +24,7 @@ export default function ItemsView({view, items, setItems}) {

{ toggleGroup(groupKey); }}>{groupValue.name}

{Object.entries(groupValue.items).map(([itemKey, itemValue]) => (
{ toggleItem(groupKey,itemKey); }}> - + {itemValue.name}
))} diff --git a/src/ListView.jsx b/src/ListView.jsx index 043b239..28245d7 100644 --- a/src/ListView.jsx +++ b/src/ListView.jsx @@ -47,7 +47,7 @@ export default function ListView({items, setItems, view}) { }
- +
{itemValue.hasOwnProperty('recipe') && { (itemValue.quantity * itemValue.recipe.yield) }} { itemValue.name } @@ -61,7 +61,7 @@ export default function ListView({items, setItems, view}) { {itemValue.recipe.ingredients.map((ingredient) => (
{ (itemValue.quantity * ingredient.quantity) } - + {ingredient.name}
))}