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 226f67d commit a7cfedbCopy full SHA for a7cfedb
app/(account)/login/page.tsx
@@ -49,7 +49,7 @@ const LoginPage = () => {
49
Loading...
50
</div>
51
}
52
- <FormContainer onSubmit={(e) => e.preventDefault()} title='Login'>
+ <FormContainer action={handleSubmit} title='Login'>
53
{state.error && isGeneralError(state.error) && errorMessage(state.error.error)}
54
55
<TextField
@@ -83,7 +83,7 @@ const LoginPage = () => {
83
84
/>
85
86
- <Button onClick={handleSubmit} className="mt-4 w-full" filled>Log in</Button>
+ <Button type='submit' className="mt-4 w-full" filled>Log in</Button>
87
88
<AlternativeActions
89
links={
0 commit comments