mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 14:59:42 +02:00
Fix sidebar counts
This commit is contained in:
@@ -194,7 +194,7 @@ export function Sidebar() {
|
|||||||
const tree = useAtomValue(sidebarTreeAtom);
|
const tree = useAtomValue(sidebarTreeAtom);
|
||||||
const treeId = SIDEBAR_TREE_ID;
|
const treeId = SIDEBAR_TREE_ID;
|
||||||
|
|
||||||
const getItemKey = useCallback((item: SidebarItem) => item.id, []);
|
const getItemKey = useCallback((item: SidebarItem) => `${item.id}:${item.exchangeIds.length}`, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className="x-theme-sidebar bg-surface h-full w-full min-w-0 overflow-y-auto border-r border-border-subtle">
|
<aside className="x-theme-sidebar bg-surface h-full w-full min-w-0 overflow-y-auto border-r border-border-subtle">
|
||||||
|
|||||||
Reference in New Issue
Block a user