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();