Feature/callpage #18
1 changed files with 5 additions and 5 deletions
|
|
@ -53,11 +53,11 @@ export default function Login() {
|
|||
|
||||
useEffect(() => {
|
||||
// Temp for Testing
|
||||
if (!auth) {
|
||||
setTimeout(() => {
|
||||
router.navigate('./incidents');
|
||||
}, 1000);
|
||||
}
|
||||
// if (!auth) {
|
||||
// setTimeout(() => {
|
||||
// router.navigate('./incidents');
|
||||
// }, 1000);
|
||||
// }
|
||||
if (auth) {
|
||||
router.navigate('./incidents');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue