From 444a8147f59df78ebf14222edcebf944226b533e Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sat, 17 Apr 2021 16:18:12 +0530 Subject: designed DisplayItem and ItemsDisplay so it now renders a pretty table --- src/components/Form/AddNewItemForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/Form') diff --git a/src/components/Form/AddNewItemForm.js b/src/components/Form/AddNewItemForm.js index 52a5db7..07b3092 100644 --- a/src/components/Form/AddNewItemForm.js +++ b/src/components/Form/AddNewItemForm.js @@ -41,8 +41,8 @@ const AddNewItemForm = (props) => { const resetAllValues = () => { setItemNameValue(""); setItemDescValue(""); - setItemQtyValue(0); - setItemPriceValue(0); + setItemQtyValue(1); + setItemPriceValue(1); setItemDiscountValue(0); setItemGSTValue(props.defGSTValue); } -- cgit v1.2.3