Fixes weird background color (#7678)

This commit is contained in:
sean-brydon
2023-03-12 15:54:03 +00:00
committed by GitHub
parent 1625f462c2
commit a22e4eed32
@@ -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,
}}
/>