From e54214c8ecdcf264a0f055ae24afe3299c0c7697 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sat, 26 Jun 2021 23:26:20 +0530 Subject: Fixed and styled ClientInfoDisplay --- src/components/Form/People/SelectClientForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/Form/People/SelectClientForm.tsx') diff --git a/src/components/Form/People/SelectClientForm.tsx b/src/components/Form/People/SelectClientForm.tsx index 373c387..f91bf41 100644 --- a/src/components/Form/People/SelectClientForm.tsx +++ b/src/components/Form/People/SelectClientForm.tsx @@ -18,7 +18,7 @@ interface Props { const SelectClientForm: React.FC = (props) => { // TODO: fix the default selectedClient - const [selectedClient, setSelectedClient] = useState({Name: "pp", Address: "pp"}); + const [selectedClient, setSelectedClient] = useState({Name: "", Address: ""}); const enterValuePrompt = "start typing here"; const registerPrompt = "add new"; @@ -38,7 +38,7 @@ const SelectClientForm: React.FC = (props) => { e === formatter(i) && setSelectedClient(i)) return ( -
+