Skip to content

Scheduling infrastructure for absolutely everyone.

Fixes for blank Shell

zomarsa3e0d0aec9b0
diff --git a/apps/web/components/Shell.tsx b/apps/web/components/Shell.tsx
index a9ece1da6df..21f7215859b 100644
--- a/apps/web/components/Shell.tsx
+++ b/apps/web/components/Shell.tsx
@@ -136,7 +136,7 @@ export default function Shell(props: {
}) {
const { t } = useLocale();
const router = useRouter();
- const { loading, shouldDisplayUnauthed } = useRedirectToLoginIfUnauthenticated();
+ const { loading, shouldDisplayUnauthed, session } = useRedirectToLoginIfUnauthenticated();
const { isRedirectingToOnboarding } = useRedirectToOnboardingIfNeeded();
const telemetry = useTelemetry();
@@ -209,7 +209,7 @@ export default function Shell(props: {
);
}
- if (!shouldDisplayUnauthed) return null;
+ if (!session && !shouldDisplayUnauthed) return null;
return (
<>