diff --git a/js/src/pages/path-resolver.tsx b/js/src/pages/path-resolver.tsx index 8b785c8..482e40f 100644 --- a/js/src/pages/path-resolver.tsx +++ b/js/src/pages/path-resolver.tsx @@ -5,7 +5,6 @@ import { ParticleListView } from "@/features/particles/particle-list-view"; import { ParticleViewResolver } from "@/features/particles/particle-view-resolver"; import { WindowControls } from "@/components/window-controls"; import { Button } from "@/components/ui/button"; -import { Muted } from "@/components/ui/typography"; import { Breadcrumb, BreadcrumbItem, @@ -42,16 +41,15 @@ function NetworkBreadcrumbContent({ networkId }: { networkId: string }) { function TopBar({ segments }: { segments: string[] }) { const navigate = useNavigate(); - const user = useAuthStore((s) => s.user); const networkId = segments[0] ?? null; return ( -
+
- + {segments.length === 0 ? ( @@ -71,7 +69,7 @@ function TopBar({ segments }: { segments: string[] }) { {networkId && ( - + {segments.length === 1 ? ( @@ -95,7 +93,7 @@ function TopBar({ segments }: { segments: string[] }) { return ( - + {isLast ? ( {segment} ) : ( @@ -114,7 +112,7 @@ function TopBar({ segments }: { segments: string[] }) {
- {user && {user.email_prefix}} +