We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bd603 commit 6d03493Copy full SHA for 6d03493
apps/dashboard/src/app/nebula-app/(app)/layout.tsx
@@ -37,15 +37,6 @@ export default async function Layout(props: {
37
loginRedirect();
38
}
39
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
49
const sessions = await getSessions({
50
authToken,
51
}).catch(() => []);
0 commit comments