aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/Document/DocumentInfoForm.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-11 17:17:26 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-11 17:17:26 +0530
commit671c3a765ffc53575f517cef715dc16be5aa43c5 (patch)
tree4f6d7ea1059f339bef6e245638fdb52cd0363844 /src/components/Form/Document/DocumentInfoForm.js
parent33c10cfa027d769c1d02a54bad766f431b1196ee (diff)
cleaned up some code and fixed formatter for the client name/address
Diffstat (limited to 'src/components/Form/Document/DocumentInfoForm.js')
-rw-r--r--src/components/Form/Document/DocumentInfoForm.js22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/components/Form/Document/DocumentInfoForm.js b/src/components/Form/Document/DocumentInfoForm.js
index 367d4f2..09bb9c6 100644
--- a/src/components/Form/Document/DocumentInfoForm.js
+++ b/src/components/Form/Document/DocumentInfoForm.js
@@ -12,29 +12,11 @@ import "./../Form.scss";
import SelectClientForm from "./../People/SelectClientForm";
-const DocumentInfoForm = (/*props*/) => {
- const savedPeople = [
- {
- ID: 1,
- Name: "one",
- Address: "Address Line 1"
- },
- {
- ID: 2,
- Name: "two",
- Address: "Address Line 1 Line2 Lelfjdlfj"
- },
- {
- ID: 3,
- Name: "three",
- Address: "ALinldfjlasjfe 1asdjflajdslfjsalkdjfdslkfjslkdfjlksjdflkjsdlkfjdlfjslkjfdlkadsflj"
- },
- ]
-
+const DocumentInfoForm = (props) => {
return (
<div className={"DocumentInfoForm"}>
<SelectClientForm
- savedPeople={savedPeople}
+ savedPeople={props.savedPeople}
/>
</div>
);