diff options
Diffstat (limited to 'src/components/Form/Document/DocumentInfoForm.js')
-rw-r--r-- | src/components/Form/Document/DocumentInfoForm.js | 22 |
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> ); |