Skip to content

Commit

Permalink
String conversion hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
NatSquared committed Mar 11, 2024
1 parent b649ae7 commit 9c303f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const EngagementMetadata = forwardRef((_props, ref) => {
resolver: yupResolver(validationSchema),
});

const cleanArray = (arr: string[]) => arr.map((v) => v.trim()).filter(Boolean);
const cleanArray = (arr: string[]) => arr.map((v) => v.toString().trim()).filter(Boolean);

const onSubmit: SubmitHandler<TaxonFormValues> = async () => {
const data = getValues();
Expand Down

0 comments on commit 9c303f7

Please sign in to comment.