We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f2e6e commit 1cb6f7fCopy full SHA for 1cb6f7f
src/components/Register.tsx
@@ -17,7 +17,7 @@ const Register: React.FC = () => {
17
const registerUser = async (event: any) => {
18
event.preventDefault();
19
20
- if (event.target.password !== event.target.passwordConfirmed){
+ if (event.target.password.value !== event.target.passwordConfirmed.value){
21
// @ts-ignore
22
setMessage("Passwords doesn't match" );
23
0 commit comments