fix: don't use two refs
This commit is contained in:
parent
c2158510d9
commit
cd2dce2404
@ -107,7 +107,6 @@ export const UserSelect = ({ options, value }: UserSelectProps) => {
|
|||||||
ref: inputWrapperRef,
|
ref: inputWrapperRef,
|
||||||
suppressRefError: true,
|
suppressRefError: true,
|
||||||
})}
|
})}
|
||||||
ref={inputWrapperRef}
|
|
||||||
onClick={() => !dropdownOpen && openMenu()}
|
onClick={() => !dropdownOpen && openMenu()}
|
||||||
className="cursor-pointer relative py-2 pl-2 pr-4 flex min-w-[200px] w-full items-center justify-between rounded-xl bg-surface-card shadow-sm"
|
className="cursor-pointer relative py-2 pl-2 pr-4 flex min-w-[200px] w-full items-center justify-between rounded-xl bg-surface-card shadow-sm"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user