Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 8d4fde7

Browse files
committed
✅ Change type=button to type=submit for a button to login
1 parent bdba2ef commit 8d4fde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/page/LoginPage/LoginPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const LoginPage = () => {
2727
<PasswordInput password={password} setPassword={setPassword} />
2828
<div className="flex justify-end">
2929
<button
30-
type="button"
30+
type="submit"
3131
className="rounded bg-blue-800 px-1.5 py-1 text-white shadow-2xl hover:bg-blue-700 hover:shadow-xl"
3232
onClick={async () => {
3333
await sendLoginRequest()

0 commit comments

Comments
 (0)