From cd2dce24043e80f958eb3d8f81d82a439b43c754 Mon Sep 17 00:00:00 2001 From: Eric Lewis Date: Fri, 29 Mar 2024 14:41:08 -0400 Subject: [PATCH] fix: don't use two refs --- .../frontend/src/components/shared/UserSelect/UserSelect.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/frontend/src/components/shared/UserSelect/UserSelect.tsx b/packages/frontend/src/components/shared/UserSelect/UserSelect.tsx index 139f6a17..d9faa103 100644 --- a/packages/frontend/src/components/shared/UserSelect/UserSelect.tsx +++ b/packages/frontend/src/components/shared/UserSelect/UserSelect.tsx @@ -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" >