Skip to content

Commit

Permalink
show only one error msg for description field
Browse files Browse the repository at this point in the history
  • Loading branch information
viiktorstefanov committed Sep 17, 2024
1 parent b4727f3 commit 0121e81
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 0121e81

Please sign in to comment.