cleaning things up

This commit is contained in:
Arjun Patel
2022-01-13 18:12:43 -08:00
parent 6ac73c8c13
commit 9a945edd87
13 changed files with 186 additions and 247 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ export default function Login() {
useEffect(() => {
// if auth, go to dashboard
if (currUser) {
console.log('already logged in, redirecting to the dashboard')
router.push('/teams/dashboard')
console.log('already logged in, redirecting to router')
router.push('/teams')
}
}, [currUser])