From ef1e09fe5f84b158ad5ef38ed944afb4e86f5154 Mon Sep 17 00:00:00 2001 From: Luke Donahue Date: Fri, 27 May 2022 14:45:57 -0700 Subject: [PATCH] compose withNetwork --- src/components/FullPageOfflineBlockingView.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/FullPageOfflineBlockingView.js b/src/components/FullPageOfflineBlockingView.js index 3729be8faaaa..c69596d4e1fa 100644 --- a/src/components/FullPageOfflineBlockingView.js +++ b/src/components/FullPageOfflineBlockingView.js @@ -59,9 +59,5 @@ FullPageOfflineBlockingView.propTypes = propTypes; export default compose( withLocalize, - withOnyx({ - network: { - key: ONYXKEYS.NETWORK, - }, - }), + withNetwork(), )(FullPageOfflineBlockingView);