From 0f4d0f1195f30d7a8d2a48c4e54900ec688944db Mon Sep 17 00:00:00 2001 From: Magdalena Markusik Date: Mon, 21 Sep 2020 14:57:12 +0200 Subject: [PATCH] fix types and lint --- .../components/CategoryUpdatePage/CategoryUpdatePage.tsx | 1 + src/products/components/ProductCreatePage/ProductCreatePage.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx b/src/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx index 9acb198a8..b56aa5557 100644 --- a/src/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx +++ b/src/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx @@ -36,6 +36,7 @@ export interface FormData extends MetadataFormData { backgroundImageAlt: string; description: RawDraftContentState; name: string; + slug: string; seoTitle: string; seoDescription: string; } diff --git a/src/products/components/ProductCreatePage/ProductCreatePage.tsx b/src/products/components/ProductCreatePage/ProductCreatePage.tsx index 03ab907ab..e00125ea9 100644 --- a/src/products/components/ProductCreatePage/ProductCreatePage.tsx +++ b/src/products/components/ProductCreatePage/ProductCreatePage.tsx @@ -157,13 +157,13 @@ export const ProductCreatePage: React.FC = ({ isPublished: false, metadata: [], name: "", - slug: "", privateMetadata: [], productType: "", publicationDate: "", seoDescription: "", seoTitle: "", sku: null, + slug: "", stockQuantity: null, trackInventory: false, visibleInListings: false,