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 7d01917 commit 7674a9bCopy full SHA for 7674a9b
src/views/login/login.tsx
@@ -53,6 +53,10 @@ const LoginComponent = () => {
53
if (signInResponse?.error) {
54
setErrorMessage(signInResponse.error)
55
setLoading(false)
56
+ } else {
57
+ setSuccessMessage('Login Successful')
58
+ setLoading(false)
59
+ router.push('/')
60
}
61
} catch (error: any) {
62
console.error('Error initiating cognito login:', error);
0 commit comments