Skip to content

Commit 1dab3e7

Browse files
authored
Merge pull request #422 from w3bdesign/Upgrade-React-hook-form-to-version-7
Upgrade React hook form to version 7
2 parents 71ef7b9 + 3eb3f0d commit 1dab3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Checkout/Billing.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Input = ({
2626
);
2727

2828
const Billing = ({ onSubmit }) => {
29-
const { register, handleSubmit, errors } = useForm();
29+
const { register, handleSubmit, formState: { errors } } = useForm();
3030

3131
return (
3232
<>

0 commit comments

Comments
 (0)