fix types and lint

This commit is contained in:
Magdalena Markusik 2020-09-21 14:57:12 +02:00
parent 77063deb4f
commit 0f4d0f1195
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ export interface FormData extends MetadataFormData {
backgroundImageAlt: string;
description: RawDraftContentState;
name: string;
slug: string;
seoTitle: string;
seoDescription: string;
}

View file

@ -157,13 +157,13 @@ export const ProductCreatePage: React.FC<ProductCreatePageProps> = ({
isPublished: false,
metadata: [],
name: "",
slug: "",
privateMetadata: [],
productType: "",
publicationDate: "",
seoDescription: "",
seoTitle: "",
sku: null,
slug: "",
stockQuantity: null,
trackInventory: false,
visibleInListings: false,