diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 0f112a81..a7388870 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -78,11 +78,6 @@ export const Sidebar = memo(function Sidebar({ entries, selection, onSelect, onS return map }, [entries]) - const getSectionColor = (entry: VaultEntry) => { - const typeEntry = typeEntryMap[entry.isA ?? ''] - return getTypeColor(entry.isA ?? 'Note', typeEntry?.color) - } - const isActive = (sel: SidebarSelection): boolean => { if (selection.kind !== sel.kind) return false if (sel.kind === 'filter' && selection.kind === 'filter') return sel.filter === selection.filter