diff options
Diffstat (limited to 'src/components/BillingPage.js')
-rw-r--r-- | src/components/BillingPage.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js index 40917e5..73778a1 100644 --- a/src/components/BillingPage.js +++ b/src/components/BillingPage.js @@ -50,8 +50,11 @@ const BillingPage = () => { // get data from server on startup useEffect(() => { + async function fetchdata() { getRegisteredItems(); getRegisteredPeople(); + } + fetchdata() }, []); // TODO: to be handled by backend const defGSTValue = 18; |