Skip to content

Commit 79d2e2a

Browse files
yungstersfacebook-github-bot
authored andcommitted
RN: Fix Lint for FocusEventsExample.android.js (#51857)
Summary: Pull Request resolved: #51857 Fixes lint warnings for `FocusEventsExample.android.js`. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D76074712 fbshipit-source-id: 10af22f75f03462af35a4fe5e592f8bc8bdc0ca8
1 parent 0411c43 commit 79d2e2a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/rn-tester/js/examples/FocusEventsExample/FocusEventsExample.android.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @flow
7+
* @flow strict-local
88
* @format
99
*/
1010

11-
'use strict';
12-
1311
import RNTesterText from '../../components/RNTesterText';
1412
import {useState} from 'react';
1513
import {Alert, Pressable, StyleSheet, TextInput, View} from 'react-native';
@@ -63,7 +61,6 @@ const ViewExample = () => {
6361
};
6462

6563
const PressableExample = () => {
66-
const [highlightFocused, setHighlightFocused] = useState(false);
6764
const [pressableFocused, setPressableFocused] = useState(false);
6865
const [disabledPressableFocused, setDisabledPressableFocused] =
6966
useState(false);

0 commit comments

Comments
 (0)