From c161de1270a905388dc967f2f8c527300a5d1bf4 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Tue, 24 Mar 2020 20:37:14 +0100 Subject: [PATCH] Fix product create view --- .../components/ProductCreatePage/ProductCreatePage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/products/components/ProductCreatePage/ProductCreatePage.tsx b/src/products/components/ProductCreatePage/ProductCreatePage.tsx index 81f725818..e3f6d61a5 100644 --- a/src/products/components/ProductCreatePage/ProductCreatePage.tsx +++ b/src/products/components/ProductCreatePage/ProductCreatePage.tsx @@ -84,6 +84,7 @@ interface ProductCreatePageProps { fetchCategories: (data: string) => void; fetchCollections: (data: string) => void; fetchProductTypes: (data: string) => void; + onWarehouseEdit: () => void; onBack?(); onSubmit?(data: ProductCreatePageSubmitData); } @@ -104,7 +105,8 @@ export const ProductCreatePage: React.FC = ({ saveButtonBarState, onBack, fetchProductTypes, - onSubmit + onSubmit, + onWarehouseEdit }: ProductCreatePageProps) => { const intl = useIntl(); const localizeDate = useDateLocalize();