Skip to content

Commit

Permalink
update: add onblur mode
Browse files Browse the repository at this point in the history
  • Loading branch information
daluclemas committed Jun 14, 2024
1 parent 0d6eff6 commit 49a5390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/contact-us/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const ContactUsComponent = () => {
formState: { errors },
} = useForm({
resolver: yupResolver(schema),
mode: "onBlur",
});
const { mutate: handleContactUs } = useMutation({
mutationFn: makeEnquiry,
Expand Down

0 comments on commit 49a5390

Please sign in to comment.