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 (