summaryrefslogtreecommitdiffstats
path: root/frontend/src/Register.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/Register.js')
-rw-r--r--frontend/src/Register.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/Register.js b/frontend/src/Register.js
index e49b4ea..f4a6ec3 100644
--- a/frontend/src/Register.js
+++ b/frontend/src/Register.js
@@ -6,7 +6,7 @@ import axios from './axios';
import userState from './UserState';
const Register = () => {
- const { register, handleSubmit, watch, errors } = useForm();
+ const { register, handleSubmit } = useForm();
const [ loginError, setLoginError ] = useState(null);
const onSubmit = async data => {