diff --git a/src/renderer/components/Sidebar.tsx b/src/renderer/components/Sidebar.tsx index de0d837..9f8fa34 100644 --- a/src/renderer/components/Sidebar.tsx +++ b/src/renderer/components/Sidebar.tsx @@ -68,27 +68,32 @@ function relativeTime(iso: string): string { return new Date(iso).toLocaleDateString(undefined, { month: 'short', day: 'numeric' }); } -/* ── Filter chip ────────────────────────────────────────────── */ +/* ── Filter toggle ──────────────────────────────────────────── */ -function FilterChip({ +function FilterToggle({ label, active, - activeClass, + dotColor, onClick, }: { label: string; active: boolean; - activeClass: string; + dotColor: string; onClick: () => void; }) { return ( ); @@ -504,11 +509,11 @@ export function Sidebar({ )} -