Update Navigate to Replace

This commit is contained in:
Matt DiMeglio 2025-04-19 12:58:11 -04:00
parent 4ba7defaf8
commit b80013dba1

View file

@ -55,11 +55,11 @@ export default function Login() {
// Temp for Testing
// if (!auth) {
// setTimeout(() => {
// router.navigate('./incidents');
// router.replace('./incidents');
// }, 1000);
// }
if (auth) {
router.navigate('./incidents');
router.replace('./incidents');
}
}, [auth])