Skip to content

Commit

Permalink
'0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratyush committed Mar 15, 2024
1 parent 7b27e37 commit 98231d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/events/event1/memberDash/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const TeamPage = () => {
const user = data.user;
if (user.hasFilledDetails == true) {
if (user.event1TeamId !== null) {
router.push("/");
if (user.event1TeamRole === '0') {
// router.push("/");
if (user.event1TeamRole === 0) {
router.push('/events/event1/leaderDashboard')
} else {
setIsLoading(false);
Expand Down

0 comments on commit 98231d2

Please sign in to comment.