Skip to content

Commit b4a82ca

Browse files
committed
Fix format with prettier
1 parent 3b98054 commit b4a82ca

File tree

2 files changed

+3
-3
lines changed
  • packages/react-native-web/src

2 files changed

+3
-3
lines changed

packages/react-native-web/src/exports/TextInput/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ const TextInput = forwardRef<TextInputProps, *>((props, forwardedRef) => {
271271
}
272272

273273
function handleKeyDown(e) {
274-
if(!Platform.isTV) {
274+
if (!Platform.isTV) {
275275
// Prevent key events bubbling (see #612)
276276
e.stopPropagation();
277277
}

packages/react-native-web/src/modules/useTVEvents/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export type TVResponderConfig = $ReadOnly<{|
2828
nextFocusUp?: ?any,
2929
onPress?: ?(event: Event) => void,
3030
onFocus?: ?(event: Event) => void,
31-
onBlur?: ?(event: Event) => void,
31+
onBlur?: ?(event: Event) => void
3232
|}>;
3333

3434
export default function useTVEvents(
@@ -130,7 +130,7 @@ export default function useTVEvents(
130130
TVEventHandler.dispatchEvent(tvEvent);
131131
},
132132
onKeyDown: onKeyEvent,
133-
onKeyUp: onKeyEvent,
133+
onKeyUp: onKeyEvent
134134
}
135135
: {};
136136

0 commit comments

Comments
 (0)