Skip to content

Commit

Permalink
fix: Display all validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jan 18, 2024
1 parent 1dbb181 commit 02840ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const SettingsForm: React.FC<SettingsFormProps> = ({
</Box>
)}
<ErrorWrapper
error={getIn(formik.errors, "primaryColour")}
error={Object.values(formik.errors).join(", ")}
id="design-settings-theme-error"
>
<Box>
Expand Down

0 comments on commit 02840ce

Please sign in to comment.