From 024b0a3cd3b4b7b1a7b87cc6d03fda249d413305 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Thu, 12 Mar 2026 15:40:45 -0700 Subject: [PATCH] Fix sidebar counts --- apps/yaak-proxy/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/yaak-proxy/components/Sidebar.tsx b/apps/yaak-proxy/components/Sidebar.tsx index 73203536..47241f5f 100644 --- a/apps/yaak-proxy/components/Sidebar.tsx +++ b/apps/yaak-proxy/components/Sidebar.tsx @@ -194,7 +194,7 @@ export function Sidebar() { const tree = useAtomValue(sidebarTreeAtom); const treeId = SIDEBAR_TREE_ID; - const getItemKey = useCallback((item: SidebarItem) => item.id, []); + const getItemKey = useCallback((item: SidebarItem) => `${item.id}:${item.exchangeIds.length}`, []); return (