Skip to content

Commit

Permalink
show only one error msg for description field (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
viiktorstefanov authored Sep 18, 2024
1 parent 4a3f31e commit 3f5a84b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/common/form/FormRichTextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ export default function FormRichTextField({ name }: FormRichTextFieldProps) {

return (
<div>
{meta.touched && meta.error && (
<Typography className="error" color="red">
{helperText}
</Typography>
)}

<Field name={name}>
{({ field }: { field: FieldInputProps<string> }) => (
<StyledGrid>
Expand Down

0 comments on commit 3f5a84b

Please sign in to comment.