From 7b14a8f3faf7672f0aefbf93d5c37f62a169b535 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 6 Nov 2022 03:30:40 +0300 Subject: Cleanup ESLint warnings --- vnext/src/ui/Login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/ui/Login.js') 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 } */ let onSubmit = (values) => { -- cgit v1.2.3