From 52cf01ed729dcdbdf5ce5cecd7e868c21e7a1a46 Mon Sep 17 00:00:00 2001 From: Magdalena Markusik Date: Mon, 21 Sep 2020 12:00:53 +0200 Subject: [PATCH] update mutation and fixtures --- src/categories/fixtures.ts | 3 ++- src/collections/fixtures.ts | 3 ++- src/components/SeoForm/SeoForm.tsx | 1 - src/products/fixtures.ts | 1 + src/products/types/ProductUpdate.ts | 1 - src/products/views/ProductUpdate/handlers.ts | 1 + 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/categories/fixtures.ts b/src/categories/fixtures.ts index d51e93b93..ddc277a83 100644 --- a/src/categories/fixtures.ts +++ b/src/categories/fixtures.ts @@ -511,7 +511,8 @@ export const category: ( } }, seoDescription: null, - seoTitle: null + seoTitle: null, + slug: "coffees" }); export const errors = [ { diff --git a/src/collections/fixtures.ts b/src/collections/fixtures.ts index 0119379c8..f604aa199 100644 --- a/src/collections/fixtures.ts +++ b/src/collections/fixtures.ts @@ -167,5 +167,6 @@ export const collection: ( }, publicationDate: "2018-08-25T18:45:54.125Z", seoDescription: "", - seoTitle: "" + seoTitle: "", + slug: "summer-collection" }); diff --git a/src/components/SeoForm/SeoForm.tsx b/src/components/SeoForm/SeoForm.tsx index dfe4bc587..9217a9cdd 100644 --- a/src/components/SeoForm/SeoForm.tsx +++ b/src/components/SeoForm/SeoForm.tsx @@ -96,7 +96,6 @@ const SeoForm: React.FC = props => { const toggleExpansion = () => setExpansionStatus(!expanded); const shouldDisplayHelperText = () => helperText && !expanded; - console.log({ slug }); return (