From ca65359703c63d94d1184cda7245898c93a5ee19 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Thu, 9 Jan 2025 19:22:41 +0530 Subject: [PATCH] chore: lint --- src/components/atoms/Dropdown.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/atoms/Dropdown.tsx b/src/components/atoms/Dropdown.tsx index c7ead64b..6e060091 100644 --- a/src/components/atoms/Dropdown.tsx +++ b/src/components/atoms/Dropdown.tsx @@ -47,20 +47,20 @@ const Dropdown = ({ coordinates, selector, options, onClose }: DropdownProps) => lineHeight: '18px', padding: '0 3px', cursor: option.disabled ? 'default' : 'default', - backgroundColor: hoveredIndex === index ? '#0078D7' : - option.selected ? '#0078D7' : - option.disabled ? '#f8f8f8' : 'white', - color: (hoveredIndex === index || option.selected) ? 'white' : - option.disabled ? '#a0a0a0' : 'black', + backgroundColor: hoveredIndex === index ? '#0078D7' : + option.selected ? '#0078D7' : + option.disabled ? '#f8f8f8' : 'white', + color: (hoveredIndex === index || option.selected) ? 'white' : + option.disabled ? '#a0a0a0' : 'black', userSelect: 'none', }); return ( -
-
e.stopPropagation()} >