From 6ebf4abc72ca759385dc3edb4911ca48293d5826 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Thu, 11 Jun 2026 16:30:13 -0700 Subject: [PATCH] remove unused var --- js/desktop/src/features/particles/stream-top-bar.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/desktop/src/features/particles/stream-top-bar.tsx b/js/desktop/src/features/particles/stream-top-bar.tsx index 2024249..050eb9a 100644 --- a/js/desktop/src/features/particles/stream-top-bar.tsx +++ b/js/desktop/src/features/particles/stream-top-bar.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import { useNavigate } from 'react-router-dom'; import { useAuthStore } from '@/stores/auth-store'; import { apiClient } from '@/api/client'; import { isParticleDeleted, type Particle } from '@/api/types'; @@ -72,7 +71,6 @@ interface TopBarProps { } export function TopBar({ networkId, particle, streamParticle }: TopBarProps) { - const navigate = useNavigate(); const network = useNetwork(networkId); const userId = useAuthStore((s) => s.user?.id); const isCreator = !!userId && userId === streamParticle.created_by_human_id;