From a22e4eed320d8b1f9c087ddc19ef29b60a8b60a2 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Sun, 12 Mar 2023 23:54:03 +0800 Subject: [PATCH] Fixes weird background color (#7678) --- packages/ui/components/form/select/Select.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/ui/components/form/select/Select.tsx b/packages/ui/components/form/select/Select.tsx index 0aa00916bd..9e60e13875 100644 --- a/packages/ui/components/form/select/Select.tsx +++ b/packages/ui/components/form/select/Select.tsx @@ -84,16 +84,6 @@ export const Select = < {...reactSelectProps} {...props} styles={{ - option: (defaultStyles, state) => ({ - ...defaultStyles, - backgroundColor: state.isSelected - ? state.isFocused - ? "var(--brand-color)" - : "var(--brand-color)" - : state.isFocused - ? "var(--brand-color-dark-mode)" - : "var(--brand-text-color)", - }), ...styles, }} />