From d8f3d685343d19224e8599580cc683bb052b305c Mon Sep 17 00:00:00 2001 From: Luke Donahue Date: Fri, 27 May 2022 14:41:17 -0700 Subject: [PATCH] changed component name --- ...ullPageOfflineView.js => FullPageOfflineBlockingView.js} | 6 +++--- src/pages/ReimbursementAccount/BankAccountStep.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/components/{FullPageOfflineView.js => FullPageOfflineBlockingView.js} (92%) diff --git a/src/components/FullPageOfflineView.js b/src/components/FullPageOfflineBlockingView.js similarity index 92% rename from src/components/FullPageOfflineView.js rename to src/components/FullPageOfflineBlockingView.js index 31b76de04689..440012778460 100644 --- a/src/components/FullPageOfflineView.js +++ b/src/components/FullPageOfflineBlockingView.js @@ -24,7 +24,7 @@ const propTypes = { ...withLocalizePropTypes, }; -const FullPageOfflineView = (props) => { +const FullPageOfflineBlockingView = (props) => { if (ONYXKEYS.NETWORK.isOffline) { return ( { return props.children; }; -FullPageOfflineView.propTypes = propTypes; +FullPageOfflineBlockingView.propTypes = propTypes; export default compose( withLocalize, @@ -58,4 +58,4 @@ export default compose( key: ONYXKEYS.NETWORK, }, }), -)(FullPageOfflineView); +)(FullPageOfflineBlockingView); diff --git a/src/pages/ReimbursementAccount/BankAccountStep.js b/src/pages/ReimbursementAccount/BankAccountStep.js index bdf75a7feeb6..001a0e402d06 100644 --- a/src/pages/ReimbursementAccount/BankAccountStep.js +++ b/src/pages/ReimbursementAccount/BankAccountStep.js @@ -31,7 +31,7 @@ import getPlaidDesktopMessage from '../../libs/getPlaidDesktopMessage'; import CONFIG from '../../CONFIG'; import ROUTES from '../../ROUTES'; import Button from '../../components/Button'; -import FullPageOfflineView from '../../components/FullPageOfflineView'; +import FullPageOfflineBlockingView from '../../components/FullPageOfflineBlockingView'; const propTypes = { /** Bank account currently in setup */ @@ -200,7 +200,7 @@ class BankAccountStep extends React.Component { guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_BANK_ACCOUNT} shouldShowBackButton /> - @@ -327,7 +327,7 @@ class BankAccountStep extends React.Component { /> )} - + ); }