chore: remove alert
This commit is contained in:
parent
ff14f46fe0
commit
a6c879ce09
@ -49,7 +49,6 @@ const guard = (router: Router) => {
|
|||||||
}
|
}
|
||||||
next({ ...to, replace: true })
|
next({ ...to, replace: true })
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
alert(e)
|
|
||||||
removeAuthToken()
|
removeAuthToken()
|
||||||
next({ path: `${WhiteListPage.LOGIN_PATH}?redirect=/${to.path}` })
|
next({ path: `${WhiteListPage.LOGIN_PATH}?redirect=/${to.path}` })
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user