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; backgroundImageAlt: string;
description: RawDraftContentState; description: RawDraftContentState;
name: string; name: string;
slug: string;
seoTitle: string; seoTitle: string;
seoDescription: string; seoDescription: string;
} }

View file

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