Skip to content

Commit 337c235

Browse files
authored
Removed unused isFocused
1 parent ab5c528 commit 337c235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-select/src/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ export default class Select<
883883
blur = this.blurInput;
884884

885885
openMenu(focusOption: 'first' | 'last') {
886-
const { selectValue, isFocused } = this.state;
886+
const { selectValue } = this.state;
887887
const focusableOptions = this.buildFocusableOptions();
888888
let openAtIndex = focusOption === 'first' ? 0 : focusableOptions.length - 1;
889889

0 commit comments

Comments
 (0)