Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzKn committed Oct 25, 2022
1 parent 7b54efd commit 054834b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-select/src/components/LiveRegion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ const LiveRegion = <
const isSelected = !!(
focusedOption &&
selectValue &&
selectValue.some(option => getOptionValue(option) === getOptionValue(focusedOption))
selectValue.some(
(option) => getOptionValue(option) === getOptionValue(focusedOption)
)
);

if (focused && messages.onFocus) {
Expand Down

0 comments on commit 054834b

Please sign in to comment.