Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
acoates-ms committed May 14, 2024
1 parent f818b7c commit b187f60
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1347,8 +1347,12 @@ function InternalTextInput(props: Props): React.Node {
}
},
isFocused(): boolean {
const currentlyFocusedInput = TextInputState.currentlyFocusedInput();
return currentlyFocusedInput !== null && currentlyFocusedInput === inputRef.current;
const currentlyFocusedInput =
TextInputState.currentlyFocusedInput();
return (
currentlyFocusedInput !== null &&
currentlyFocusedInput === inputRef.current
);
},
getNativeRef(): ?React.ElementRef<HostComponent<mixed>> {
return inputRef.current;
Expand Down

0 comments on commit b187f60

Please sign in to comment.