fix: don't use two refs

This commit is contained in:
Eric Lewis
2024-04-25 16:57:14 +05:30
committed by nabarun
parent c2158510d9
commit cd2dce2404
@@ -107,7 +107,6 @@ export const UserSelect = ({ options, value }: UserSelectProps) => {
ref: inputWrapperRef,
suppressRefError: true,
})}
ref={inputWrapperRef}
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"
>