From 3ff4de1867b9e8d059590763d252d7acbbd99222 Mon Sep 17 00:00:00 2001 From: Shubham Bhat Date: Fri, 10 Jan 2025 23:08:34 +0530 Subject: [PATCH] added proper icons to each filter on tools page --- pages/tools/components/Sidebar.tsx | 8 +------- pages/tools/components/ui/DropdownMenu.tsx | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pages/tools/components/Sidebar.tsx b/pages/tools/components/Sidebar.tsx index b87813828..e53e78a8e 100644 --- a/pages/tools/components/Sidebar.tsx +++ b/pages/tools/components/Sidebar.tsx @@ -97,13 +97,7 @@ export default function Sidebar({ - - - ) - } + icon={IconComponent && } > {filterCriteria[accessorKey as FilterCriteriaFields] ?.map(String) diff --git a/pages/tools/components/ui/DropdownMenu.tsx b/pages/tools/components/ui/DropdownMenu.tsx index 8bd7414b8..7352b179e 100644 --- a/pages/tools/components/ui/DropdownMenu.tsx +++ b/pages/tools/components/ui/DropdownMenu.tsx @@ -26,7 +26,7 @@ export default function DropdownMenu({ }, [router]); return ( -
+
{