Fixing update
This commit is contained in:
parent
843da7c933
commit
2631df84f5
@ -70,7 +70,7 @@ export default function Home() {
|
|||||||
}else{
|
}else{
|
||||||
try {
|
try {
|
||||||
await signIn({email, password}).then((res: any) => {
|
await signIn({email, password}).then((res: any) => {
|
||||||
if (res.response.status === 422 || res.response.status === 401) {
|
if (res.response.status === 422 || res.response.status === 401 || res.response.status === 500 ) {
|
||||||
setOpenSnackError(true)
|
setOpenSnackError(true)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user