Skip to content

Commit 5a08118

Browse files
committed
testing in beta
1 parent 7674a9b commit 5a08118

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/views/login/login.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ const LoginComponent = () => {
5353
if (signInResponse?.error) {
5454
setErrorMessage(signInResponse.error)
5555
setLoading(false)
56-
} else {
57-
setSuccessMessage('Login Successful')
58-
setLoading(false)
59-
router.push('/')
60-
}
56+
}
6157
} catch (error: any) {
6258
console.error('Error initiating cognito login:', error);
6359
setErrorMessage(error.message)
@@ -104,7 +100,7 @@ const LoginComponent = () => {
104100
<br/>
105101
<TextField
106102
label="Email"
107-
id="input_email"
103+
id="email"
108104
size="small"
109105
variant="standard"
110106
type="text"
@@ -114,7 +110,7 @@ const LoginComponent = () => {
114110
/>
115111
<TextField
116112
label="Password"
117-
id="input_password"
113+
id="password"
118114
size="small"
119115
variant="standard"
120116
type="password"

0 commit comments

Comments
 (0)