fix: deprecated active

pull/13892/head
Joel 1 year ago
parent 087a106fbe
commit a7575e6a41

@ -249,7 +249,7 @@ const SimpleSelect: FC<ISelectProps> = ({
{items.map((item: Item) => ( {items.map((item: Item) => (
<ListboxOption <ListboxOption
key={item.value} key={item.value}
className={({ active }) => className={
classNames( classNames(
'relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-state-base-hover text-text-secondary', 'relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-state-base-hover text-text-secondary',
optionClassName, optionClassName,

Loading…
Cancel
Save