aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/People/SelectClientForm.tsx
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-26 23:26:20 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-26 23:26:20 +0530
commite54214c8ecdcf264a0f055ae24afe3299c0c7697 (patch)
treef030fe9d80174a27a79f026e6b7d6775ca44e0ac /src/components/Form/People/SelectClientForm.tsx
parent7f64269194103cc7436041b59676cd96e4a099a0 (diff)
Fixed and styled ClientInfoDisplay
Diffstat (limited to 'src/components/Form/People/SelectClientForm.tsx')
-rw-r--r--src/components/Form/People/SelectClientForm.tsx4
1 files changed, 2 insertions, 2 deletions
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> = (props) => {
// TODO: fix the default selectedClient
- const [selectedClient, setSelectedClient] = useState<Person>({Name: "pp", Address: "pp"});
+ const [selectedClient, setSelectedClient] = useState<Person>({Name: "", Address: ""});
const enterValuePrompt = "start typing here";
const registerPrompt = "add new";
@@ -38,7 +38,7 @@ const SelectClientForm: React.FC<Props> = (props) => {
e === formatter(i) && setSelectedClient(i))
return (
- <div className={"DocumentInfoChild"}>
+ <div className={"documentInfoChild"}>
<label>
Client Name:
<select