diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-28 17:53:25 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-28 17:53:25 +0530 |
commit | 05dcdcc398af3ec859a750d7e514a286a265da94 (patch) | |
tree | 554a72c3bcb3f704806b972cef94bec5ae267084 /src/components/BillingPage.js | |
parent | 5ca14fcf3e949308eb0b2d636169e6601df1908d (diff) |
styled the RegisterItemForm properly and introduced like 20 bugs
Diffstat (limited to 'src/components/BillingPage.js')
-rw-r--r-- | src/components/BillingPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js index fc09694..c2aa158 100644 --- a/src/components/BillingPage.js +++ b/src/components/BillingPage.js @@ -16,7 +16,7 @@ import ItemsDisplay from "./Display/ItemsDisplay"; import SummaryDisplay from "./Display/SummaryDisplay"; const BillingPage = () => { - const [savedItems, getSavedItems] = useState([]) + const [savedItems, getSavedItems] = useState([]); const getRegisteredItems = () => { axios.get(`/api/items`) @@ -47,7 +47,7 @@ const BillingPage = () => { return ( <> <AddNewItemForm savedItems={savedItems} addItem={getItems} defGSTValue={defGSTValue}/> - <RegisterItemForm/> + <RegisterItemForm updateItemsList={getRegisteredItems}/> <ItemsDisplay items={items} defGSTValue={defGSTValue}/> <div className={"BillingPageFlex"}> <MetaInfoForm/> |