diff --git a/src/layouts/EditHomepage/EditHomepage.jsx b/src/layouts/EditHomepage/EditHomepage.jsx index b9eda4fa8..48e477b7a 100644 --- a/src/layouts/EditHomepage/EditHomepage.jsx +++ b/src/layouts/EditHomepage/EditHomepage.jsx @@ -160,7 +160,6 @@ const EditHomepage = ({ match }) => { setDisplayHighlights(displayHighlights) } const heroSection = frontMatter.sections.filter((section) => !!section.hero) - const errorMessages = getErrorsFromHomepageState(homepageState) const errorToast = useErrorToast() @@ -1093,7 +1092,13 @@ const EditHomepage = ({ match }) => { />