Skip to content

Commit

Permalink
unify color errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gerouvi committed May 29, 2024
1 parent 83ba6a3 commit fcc8ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Process/Questions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const Questions = () => {
/>
</Box>
{!!Object.values(formErrors).length && (
<Text mt={10} textAlign='center' color='red'>
<Text mt={10} textAlign='center' color='error'>
.
{t('process.helper_error', {
count: election.questions.length - Object.values(formErrors).length,
Expand Down
1 change: 1 addition & 0 deletions src/theme/components/Questions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ const baseStyle = definePartsStyle({
error: {
display: 'flex',
justifyContent: 'center',
color: 'error',
},
})

Expand Down

1 comment on commit fcc8ab2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.