diff options
Diffstat (limited to 'vnext/src/ui/Login.js')
-rw-r--r-- | vnext/src/ui/Login.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Login.js b/vnext/src/ui/Login.js index 98f9328b..07b0a2a3 100644 --- a/vnext/src/ui/Login.js +++ b/vnext/src/ui/Login.js @@ -32,7 +32,7 @@ function Login({ onAuth }) { } }, [navigate, location.state, visitor]); - const { register, handleSubmit, formState: { errors }, } = useForm(); + const { register, handleSubmit } = useForm(); /** @type { import('react-hook-form').SubmitHandler<import('react-hook-form').FieldValues> } */ let onSubmit = (values) => { |