diff --git a/contexts/authContext.js b/contexts/authContext.js index f99e78c..468ea03 100644 --- a/contexts/authContext.js +++ b/contexts/authContext.js @@ -83,7 +83,7 @@ export function AuthProvider({ children }) { Promise.resolve(await signOut(auth)); - router.push("/teams/landing"); + router.push("/"); }; const value = { diff --git a/contexts/teamDashboardContext.tsx b/contexts/teamDashboardContext.tsx index abb51ee..5e9a592 100644 --- a/contexts/teamDashboardContext.tsx +++ b/contexts/teamDashboardContext.tsx @@ -208,7 +208,7 @@ export function TeamDashboardContextProvider({ children }) { setValue((prevValue) => ({ ...prevValue, teamMembers })); } catch (error) { console.log(error); - router.push("/teams/landing"); + router.push("/"); } setLoading(false);