From 92c4e0337c1b15fc53a94faa9a1cb638900229b5 Mon Sep 17 00:00:00 2001 From: TCKnickerbocker <74137392+TCKnickerbocker@users.noreply.github.com> Date: Mon, 6 May 2024 00:28:55 -0500 Subject: [PATCH] Bug fixes - all good now --- src/components/FoodItem.jsx | 4 ++-- src/pages/food/CreateFood.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/FoodItem.jsx b/src/components/FoodItem.jsx index fd3ac5a..0c90eed 100644 --- a/src/components/FoodItem.jsx +++ b/src/components/FoodItem.jsx @@ -163,7 +163,7 @@ export default function FoodItem({ food }) {
Quantity:   - setQuantity(e.target.value)} min="0"/>
@@ -209,7 +209,7 @@ export default function FoodItem({ food }) { - + Quantity: {quantity ? quantity : 0} diff --git a/src/pages/food/CreateFood.js b/src/pages/food/CreateFood.js index 6a0a89a..352f936 100644 --- a/src/pages/food/CreateFood.js +++ b/src/pages/food/CreateFood.js @@ -96,7 +96,7 @@ export default function CreateFood() { ) : hasSearched && results.length === 0 && ( - No results for "{food}" + No results for '{food}' ) }