aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Login.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-06 03:30:40 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit7b14a8f3faf7672f0aefbf93d5c37f62a169b535 (patch)
treeb027f687d286316afd493c3cf3cbbbc7aedd7396 /vnext/src/ui/Login.js
parent00ff146fb45b64aa3a4278c05e4a4c476152e2b4 (diff)
Cleanup ESLint warnings
Diffstat (limited to 'vnext/src/ui/Login.js')
-rw-r--r--vnext/src/ui/Login.js2
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) => {