diff --git a/apps/web-admin/src/pages/index.jsx b/apps/web-admin/src/pages/index.jsx index 99049022..f5ebf773 100644 --- a/apps/web-admin/src/pages/index.jsx +++ b/apps/web-admin/src/pages/index.jsx @@ -14,11 +14,11 @@ function Dashboard() { const router = useRouter(); const { user, isAuthenticated, isLoading, loginWithRedirect } = useAuth0(); const { accountDetails } = useContext(account); - useEffect(() => { - if (isAuthenticated) { - router.push(`/${accountDetails.orgId}/events`); - } - }, [router.pathname]); + // useEffect(() => { + // if (isAuthenticated) { + // router.push(`/${accountDetails.orgId}/events`); + // } + // }, [router.pathname]); return {!isAuthenticated && }; }