diff --git a/frontend/src/components/forms/ProfileEditForm.tsx b/frontend/src/components/forms/ProfileEditForm.tsx index c9503c11a..19ae1cd3f 100644 --- a/frontend/src/components/forms/ProfileEditForm.tsx +++ b/frontend/src/components/forms/ProfileEditForm.tsx @@ -49,7 +49,7 @@ const ProfileEditForm: FunctionComponent = ({ const form = useForm({ initialValues: profile, validate: { - name: (value) => value.length > 0, + name: (value) => (value.length > 0 ? null : "Must have a name"), items: (value) => value.length > 0 ? null : "Must contain at lease 1 language", },