Skip to content

Commit

Permalink
fix: error condition
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Sep 6, 2023
1 parent 63ebfb1 commit c61f544
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/layouts/EditHomepage/EditHomepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,9 @@ const EditHomepage = ({ match }) => {
</Text>
)}
<LoadingButton
isDisabled={getErrorsFromHomepageState(homepageState)}
isDisabled={
getErrorsFromHomepageState(homepageState).length > 0
}
onClick={savePage}
>
Save
Expand Down

0 comments on commit c61f544

Please sign in to comment.