diff --git a/frontend-next/src/app/register/page.js b/frontend-next/src/app/register/page.js index cfdfffe..9ede784 100644 --- a/frontend-next/src/app/register/page.js +++ b/frontend-next/src/app/register/page.js @@ -4,6 +4,7 @@ import { useForm, Form } from "react-hook-form"; import "../globals.css" import { useState } from "react"; + function Register() { var { register, control, setError, handleSubmit, formState: { errors } } = useForm() var router = useRouter(); @@ -45,7 +46,7 @@ function Register() { >

-
+
{passwordMismatch &&

Passwords do not match

}
@@ -58,4 +59,4 @@ function Register() { ) } -export default Register; \ No newline at end of file +export default Register;