We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d137d8 commit ae94cd2Copy full SHA for ae94cd2
1 file changed
src/components/Dropdown/index.tsx
@@ -152,7 +152,9 @@ export const Dropdown = ({
152
</div>
153
<button
154
onClick={() => handleOptionClick(option)}
155
- ref={(el) => (optionRefs.current[index] = el as HTMLButtonElement)}
+ ref={(el) => {
156
+ optionRefs.current[index] = el as HTMLButtonElement;
157
+ }}
158
onBlur={handleBlur}
159
>
160
<span>{option.label}</span>
0 commit comments