From 16e5c0b1cbc799f3a58aa324a6bda366c845f518 Mon Sep 17 00:00:00 2001 From: GARY121github Date: Sun, 22 Dec 2024 22:56:20 +0530 Subject: [PATCH] Linting Fix : Converted the div element to button element for better performance --- apps/dashboard/app/(app)/audit/components/filters/filter.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/app/(app)/audit/components/filters/filter.tsx b/apps/dashboard/app/(app)/audit/components/filters/filter.tsx index 58b1dd471..3bddefbfa 100644 --- a/apps/dashboard/app/(app)/audit/components/filters/filter.tsx +++ b/apps/dashboard/app/(app)/audit/components/filters/filter.tsx @@ -81,7 +81,7 @@ export const Filter: React.FC = ({ options, title, param }) => { {options.map((option) => { const isSelected = selected.includes(option.value); return ( -
handleSelection(option.value, isSelected)} onKeyDown={(e) => { @@ -111,7 +111,7 @@ export const Filter: React.FC = ({ options, title, param }) => {
{option.label} - + ); })}