diff --git a/src/layouts/EditHomepage/EditHomepage.jsx b/src/layouts/EditHomepage/EditHomepage.jsx index 169a212b5..ed9d5bcaa 100644 --- a/src/layouts/EditHomepage/EditHomepage.jsx +++ b/src/layouts/EditHomepage/EditHomepage.jsx @@ -1097,8 +1097,9 @@ const EditHomepage = ({ match }) => { if we put the declaration out of the components. This is because we have a blocking conditional `isLoaded` that gets set only after data is fetched. */} - {getErrorsFromHomepageState(homepageState).some((message) => - message.includes("longer") + {getErrorsFromHomepageState(homepageState).some( + (message) => + message.includes("longer") || message.includes("specify") ) && ( validateHeroSectionFields(key, val)) - .values() + .filter() .value() // NOTE: Section is an object keyed by the section type