fix types and lint
This commit is contained in:
parent
77063deb4f
commit
0f4d0f1195
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue