diff --git a/src/routes/contacts.index.tsx b/src/routes/contacts.index.tsx index b4ef6b9..5794b48 100644 --- a/src/routes/contacts.index.tsx +++ b/src/routes/contacts.index.tsx @@ -70,7 +70,6 @@ function ContactsIndex() { const term = q.trim().toLowerCase(); return rows.filter((r) => { if (view === "archived" ? !r.archived_at : !!r.archived_at) return false; - if (category !== "all" && categoryOf(r.contact_type) !== category) return false; if (typeFilter !== "all" && r.contact_type !== typeFilter) return false; if (!term) return true; return ( @@ -80,7 +79,7 @@ function ContactsIndex() { (r.phone ?? "").toLowerCase().includes(term) ); }); - }, [rows, q, typeFilter, view, category]); + }, [rows, q, typeFilter, view]); const grouped = useMemo(() => { const map = new Map();