Skip to content

Commit 43b3b63

Browse files
committed
fix: Make the code conform to Lint validation
1 parent b3c332a commit 43b3b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OptionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const OptionList: React.ForwardRefRenderFunction<RefOptionListProps, {}> = (_, r
233233

234234
// >>> Select (Tab / Enter)
235235
case KeyCode.TAB: {
236-
tabSelectsValue && selectOptionHotKeyLogic(event);
236+
if (tabSelectsValue) selectOptionHotKeyLogic(event);
237237
break;
238238
}
239239
case KeyCode.ENTER: {

0 commit comments

Comments
 (0)