aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/AddNewItemForm.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-17 16:18:12 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-17 16:18:12 +0530
commit444a8147f59df78ebf14222edcebf944226b533e (patch)
tree88f72d041c3b75b5c3d7d6f48fffc2b943379809 /src/components/Form/AddNewItemForm.js
parent2efc453d20aca682ac3f34af8687d4bb28642195 (diff)
designed DisplayItem and ItemsDisplay so it now renders a pretty table
Diffstat (limited to 'src/components/Form/AddNewItemForm.js')
-rw-r--r--src/components/Form/AddNewItemForm.js4
1 files changed, 2 insertions, 2 deletions
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);
}