Skip to content

Commit 6d03493

Browse files
authored
Remove nebula waitlist check
Signed-off-by: Jake Loo <[email protected]>
1 parent 64bd603 commit 6d03493

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

apps/dashboard/src/app/nebula-app/(app)/layout.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,6 @@ export default async function Layout(props: {
3737
loginRedirect();
3838
}
3939

40-
const teamWithNebulaAccess = teams.find((team) =>
41-
team.enabledScopes.includes("nebula"),
42-
);
43-
44-
// if none of them teams have nebula access, request access on first team, and show waitlist page
45-
if (!teamWithNebulaAccess) {
46-
return <NebulaWaitlistPage account={account} team={firstTeam} />;
47-
}
48-
4940
const sessions = await getSessions({
5041
authToken,
5142
}).catch(() => []);

0 commit comments

Comments
 (0)