correct suppressRefError
This commit is contained in:
parent
b35f4033c5
commit
f5c02f7230
@ -103,10 +103,12 @@ export const UserSelect = ({ options, value }: UserSelectProps) => {
|
|||||||
<div className={theme.container()}>
|
<div className={theme.container()}>
|
||||||
{/* Input */}
|
{/* Input */}
|
||||||
<div
|
<div
|
||||||
{...getToggleButtonProps({
|
{...getToggleButtonProps(
|
||||||
|
{
|
||||||
ref: inputWrapperRef,
|
ref: inputWrapperRef,
|
||||||
suppressRefError: true,
|
},
|
||||||
})}
|
{ suppressRefError: true },
|
||||||
|
)}
|
||||||
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