From 13faea9acadc8d640bbe1e0d1ede4dbdcd69e7fa Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 3 May 2021 22:01:52 +0530 Subject: added a form to manipulate some data about the document and the client info --- src/components/BillingPage.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/BillingPage.js') 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; -- cgit v1.2.3