diff options
Diffstat (limited to 'frontend/src/Login.js')
| -rw-r--r-- | frontend/src/Login.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/Login.js b/frontend/src/Login.js index 1a1cb2b..d17a5ab 100644 --- a/frontend/src/Login.js +++ b/frontend/src/Login.js @@ -6,7 +6,7 @@ import axios from './axios'; import userState from './UserState'; const Login = () => { - const { register, handleSubmit, watch, errors } = useForm(); + const { register, handleSubmit } = useForm(); const [ loginError, setLoginError ] = useState(null); const onSubmit = async data => { |
