From 96911d4bb9b5b09b6305cfd11471726ed7179beb Mon Sep 17 00:00:00 2001 From: tienifr Date: Tue, 15 Aug 2023 16:00:46 +0700 Subject: [PATCH] fix: 24232 console log error when pressing ESC key --- src/setup/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/setup/index.js b/src/setup/index.js index 94aa27707012..d49baf25c0d7 100644 --- a/src/setup/index.js +++ b/src/setup/index.js @@ -35,6 +35,10 @@ export default function () { [ONYXKEYS.NETWORK]: {isOffline: false}, [ONYXKEYS.IS_SIDEBAR_LOADED]: false, [ONYXKEYS.SHOULD_SHOW_COMPOSE_INPUT]: true, + [ONYXKEYS.MODAL]: { + isVisible: false, + willAlertModalBecomeVisible: false, + }, }, });