Merge branch 'administativePages' of https://gitlab.com/kluppsoftware/smart-energia-web into administativePages

This commit is contained in:
joseCorte-exe 2022-06-24 02:18:44 -03:00
commit ba7cf92a5b

View File

@ -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) { if (res.response.status === 422 || res.response.status === 401) {
setOpenSnackError(true) setOpenSnackError(true)
} }
}) })