Working on vendors favorite JSON form - issues with additional fields + rehydrating data

This commit is contained in:
Patrick Fic
2020-02-14 15:57:40 -08:00
parent 12c914affd
commit 34f6f066bc
34 changed files with 1044 additions and 69 deletions

View File

@@ -7,7 +7,9 @@ export default function ShopVendorPageComponent({ selectedVendorState }) {
return (
<div>
<VendorsListContainer selectedVendorState={selectedVendorState} />
<VendorsFormContainer vendor={selectedVendorState[0]} />
<VendorsFormContainer
vendorId={selectedVendorState[0] ? selectedVendorState[0].id : null}
/>
</div>
);
}