Skip to content

Commit

Permalink
fix: corrects error message for companyName
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Nov 10, 2023
1 parent 560e971 commit 754e107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Donations/Components/ContactsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ function ContactsForm(): ReactElement {
required: t("companyRequired"),
pattern: {
value: /^[\p{L}\p{N}\sß.,'&()!-]+$/u,
message: t("firstNameInvalid"),
message: t("companyNameInvalid"),
},
}}
render={({ field: { onChange, value, onBlur } }) => (
Expand Down

0 comments on commit 754e107

Please sign in to comment.