From d24947d5cecd8047390de2d382eb46796023a09a Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Thu, 11 Jun 2026 16:51:37 -0700 Subject: [PATCH] fix: remove settings option from stream-view (#277) * remove settings option * remove unused var --- js/desktop/src/features/particles/stream-top-bar.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/desktop/src/features/particles/stream-top-bar.tsx b/js/desktop/src/features/particles/stream-top-bar.tsx index 0985ed5..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'; @@ -20,7 +19,6 @@ import { DropdownMenuTrigger, } from '@/components/ui/dropdown-menu'; import { - Settings, CircleCheckBig, CircleDot, EllipsisVertical, @@ -73,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; @@ -226,10 +223,6 @@ export function TopBar({ networkId, particle, streamParticle }: TopBarProps) { Delete particle )} - navigate('/settings')}> - - Settings -