Update login.jsx
This commit is contained in:
parent
1972d701ff
commit
9016770156
1 changed files with 5 additions and 5 deletions
|
|
@ -53,11 +53,11 @@ export default function Login() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Temp for Testing
|
// Temp for Testing
|
||||||
if (!auth) {
|
// if (!auth) {
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
router.navigate('./incidents');
|
// router.navigate('./incidents');
|
||||||
}, 1000);
|
// }, 1000);
|
||||||
}
|
// }
|
||||||
if (auth) {
|
if (auth) {
|
||||||
router.navigate('./incidents');
|
router.navigate('./incidents');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue