diff --git a/src/layouts/EditHomepage/utils.ts b/src/layouts/EditHomepage/utils.ts index e1fcac3092..99d2e63c3c 100644 --- a/src/layouts/EditHomepage/utils.ts +++ b/src/layouts/EditHomepage/utils.ts @@ -32,7 +32,6 @@ export const getHasErrorFromHomepageState = ({ .entries() .map(([key, value]) => validateHighlight(key, value)) .some() - .valueOf() return acc || curErr }, hasError) } @@ -45,7 +44,6 @@ export const getHasErrorFromHomepageState = ({ .entries() .map(([key, value]) => validateDropdownElem(key, value)) .some() - .valueOf() return acc || curError }, hasError) }