diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx index 641fc47..b9a1563 100644 --- a/apps/web/src/routes/__root.tsx +++ b/apps/web/src/routes/__root.tsx @@ -46,6 +46,12 @@ function RootComponent() { select: (s) => s.isLoading, }); + const currentPath = useRouterState({ + select: (s) => s.location.pathname, + }); + + const isSpaceRoute = currentPath === "/space"; + return ( <> @@ -58,8 +64,10 @@ function RootComponent() { forcedTheme="dark" storageKey="vite-ui-theme" > -
-
+
+ {!isSpaceRoute &&
} {isFetching ? : }