aboutsummaryrefslogtreecommitdiff
path: root/src/components/Pages
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-26 22:53:24 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-26 22:53:24 +0530
commit7f64269194103cc7436041b59676cd96e4a099a0 (patch)
treee871527c6a39b43269ac77ad593dfd43c6cea290 /src/components/Pages
parent0cf29dd48b7d59c731519527e26dda959b340664 (diff)
Ported SelectClientForm to TS
Diffstat (limited to 'src/components/Pages')
-rw-r--r--src/components/Pages/BillingPage.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Pages/BillingPage.tsx b/src/components/Pages/BillingPage.tsx
index c9247da..bf37bd3 100644
--- a/src/components/Pages/BillingPage.tsx
+++ b/src/components/Pages/BillingPage.tsx
@@ -9,7 +9,7 @@
import React, { useState, useEffect } from "react";
import axios from "axios";
-import { Item } from "../../interfaces";
+import { Item, Person } from "../../interfaces";
import AddNewItemForm from "./../Form/Items/AddNewItemForm";
import RegisterItemForm from "./../Form/Items/RegisterItemForm";
@@ -24,7 +24,7 @@ import SummaryDisplay from "./../Display/SummaryDisplay";
const BillingPage: React.FC = () => {
const [savedItems, getSavedItems] = useState<Item[]>([]);
- const [savedPeople, getSavedPeople] = useState([]);
+ const [savedPeople, getSavedPeople] = useState<Person[]>([]);
const [registerItemFormVisibility, setRegisterItemFormVisibility] = useState<boolean>(false);
const [registerPersonFormVisibility, setRegisterPersonFormVisibility] = useState<boolean>(false);
const [items, setItems] = useState<Item[]>([]);