Skip to content

Commit

Permalink
refactor(utils): remove extra valueof
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin authored and seaerchin committed Aug 30, 2023
1 parent f3f7a65 commit fa18904
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/layouts/EditHomepage/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const getHasErrorFromHomepageState = ({
.entries()
.map(([key, value]) => validateHighlight(key, value))
.some()
.valueOf()
return acc || curErr
}, hasError)
}
Expand All @@ -45,7 +44,6 @@ export const getHasErrorFromHomepageState = ({
.entries()
.map(([key, value]) => validateDropdownElem(key, value))
.some()
.valueOf()
return acc || curError
}, hasError)
}
Expand Down

0 comments on commit fa18904

Please sign in to comment.