basic verification of team member in team

This commit is contained in:
Arjun Patel
2022-01-14 12:58:35 -08:00
parent 00d256b43b
commit 99694fabb9
4 changed files with 126 additions and 8 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ export default function CreateTeam() {
// if not authenticated, take user to the login
if (!currUser) {
console.log('not authenticated...routing from dashboard to teams home')
// router.push('/teams/login')
router.push('/teams/login')
}
// todo if user is in a team already, notify them to make sure
@@ -32,9 +32,9 @@ export default function CreateTeam() {
console.log(error)
router.push('/teams/login')
}
})();
setLoading(false)
setLoading(false)
})();
}, [])
async function handleSubmit(e) {