Skip to content

Commit

Permalink
Merge pull request #26959 from software-mansion-labs/ts-migration/key…
Browse files Browse the repository at this point in the history
…board-shortcuts-lib

[No QA] [TS migration] Migrate 'KeyboardShortcuts.js' lib to TypeScript
  • Loading branch information
mountiny authored Oct 11, 2023
2 parents 88952eb + 383b991 commit 61920ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Onyx from 'react-native-onyx';
import ONYXKEYS from '../../ONYXKEYS';

let isShortcutsModalOpen;
let isShortcutsModalOpen: boolean | null;
Onyx.connect({
key: ONYXKEYS.IS_SHORTCUTS_MODAL_OPEN,
callback: (flag) => (isShortcutsModalOpen = flag),
Expand Down

0 comments on commit 61920ff

Please sign in to comment.