Skip to content

Commit

Permalink
Conditions visual improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikMatiasko committed Jun 24, 2024
1 parent 060e997 commit 3e54931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/hooks/use-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function useForm<TFieldValues extends FieldValues = FieldValues>(options:
[data, updateData]
)

return { ...useFormData, updateField }
return { ...useFormData, updateField, setFormError }
}

type UseFormDataOptionsType<DataType> = {
Expand Down

0 comments on commit 3e54931

Please sign in to comment.