From 6d03493c1319e204925c7398c874b46ee8eecbef Mon Sep 17 00:00:00 2001 From: Jake Loo <2171134+jakeloo@users.noreply.github.com> Date: Tue, 15 Apr 2025 17:20:32 -0700 Subject: [PATCH] Remove nebula waitlist check Signed-off-by: Jake Loo <2171134+jakeloo@users.noreply.github.com> --- apps/dashboard/src/app/nebula-app/(app)/layout.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/dashboard/src/app/nebula-app/(app)/layout.tsx b/apps/dashboard/src/app/nebula-app/(app)/layout.tsx index 0af841ceff0..5d015c76517 100644 --- a/apps/dashboard/src/app/nebula-app/(app)/layout.tsx +++ b/apps/dashboard/src/app/nebula-app/(app)/layout.tsx @@ -37,15 +37,6 @@ export default async function Layout(props: { loginRedirect(); } - const teamWithNebulaAccess = teams.find((team) => - team.enabledScopes.includes("nebula"), - ); - - // if none of them teams have nebula access, request access on first team, and show waitlist page - if (!teamWithNebulaAccess) { - return ; - } - const sessions = await getSessions({ authToken, }).catch(() => []);