diff --git a/apps/web/src/routes/_app/layout.tsx b/apps/web/src/routes/_app/layout.tsx index d06ef7149..194f7a3fe 100644 --- a/apps/web/src/routes/_app/layout.tsx +++ b/apps/web/src/routes/_app/layout.tsx @@ -77,26 +77,23 @@ function AppShell() { if (!user && Option.isSome(error)) { const errorValue = error.value - if (errorValue._tag === "SessionLoadError") { - return ( -
-
-

- Service Temporarily Unavailable -

- - We're having trouble connecting to the authentication service. This is usually - temporary. - - {errorValue.message} - -
+ return ( +
+
+

+ Service Temporarily Unavailable +

+ + We're having trouble connecting to the authentication service. This is usually + temporary. + + {errorValue.message} +
- ) - } - return +
+ ) } if (!user) return