diff options
-rw-r--r-- | src/components/BillingPage.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js index 0542d2e..0f7ddf9 100644 --- a/src/components/BillingPage.js +++ b/src/components/BillingPage.js @@ -51,10 +51,12 @@ import SummaryDisplay from "./Display/SummaryDisplay"; const BillingPage = () => registerFormVisibility={setRegisterFormVisibility} /> - { registerFormVisibility && + {registerFormVisibility && <RegisterItemForm + defGSTValue={defGSTValue} updateItemsList={getRegisteredItems} - setVisibility={setRegisterFormVisibility}/> + setVisibility={setRegisterFormVisibility} + /> } <ItemsDisplay items={items} defGSTValue={defGSTValue}/> |