From c6a9c0d8c10e26914b2e6de596ba007118c19381 Mon Sep 17 00:00:00 2001 From: Chris Cedrone Date: Mon, 2 Dec 2024 14:46:24 -0500 Subject: [PATCH] Removing duplicate line in Native Select --- .../src/components/NativeSelect/NativeSelect.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/react-magma-dom/src/components/NativeSelect/NativeSelect.tsx b/packages/react-magma-dom/src/components/NativeSelect/NativeSelect.tsx index 929e70c32..38db83772 100644 --- a/packages/react-magma-dom/src/components/NativeSelect/NativeSelect.tsx +++ b/packages/react-magma-dom/src/components/NativeSelect/NativeSelect.tsx @@ -63,9 +63,6 @@ function borderColors(props) { if (props.disabled) { return transparentize(0.85, props.theme.colors.neutral100); } - if (props.disabled) { - return transparentize(0.85, props.theme.colors.neutral100); - } return transparentize(0.5, props.theme.colors.neutral100); } if (props.hasError) { @@ -230,4 +227,4 @@ export const NativeSelect = React.forwardRef( return nativeSelect; } } -); \ No newline at end of file +);