Skip to content

Commit

Permalink
changed component name
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Donahue committed May 27, 2022
1 parent 17cbc50 commit d8f3d68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const propTypes = {
...withLocalizePropTypes,
};

const FullPageOfflineView = (props) => {
const FullPageOfflineBlockingView = (props) => {
if (ONYXKEYS.NETWORK.isOffline) {
return (
<View
Expand All @@ -49,7 +49,7 @@ const FullPageOfflineView = (props) => {
return props.children;
};

FullPageOfflineView.propTypes = propTypes;
FullPageOfflineBlockingView.propTypes = propTypes;

export default compose(
withLocalize,
Expand All @@ -58,4 +58,4 @@ export default compose(
key: ONYXKEYS.NETWORK,
},
}),
)(FullPageOfflineView);
)(FullPageOfflineBlockingView);
6 changes: 3 additions & 3 deletions src/pages/ReimbursementAccount/BankAccountStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -200,7 +200,7 @@ class BankAccountStep extends React.Component {
guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_BANK_ACCOUNT}
shouldShowBackButton
/>
<FullPageOfflineView
<FullPageOfflineBlockingView
isLoading={false}
error=""
>
Expand Down Expand Up @@ -327,7 +327,7 @@ class BankAccountStep extends React.Component {
/>
</ReimbursementAccountForm>
)}
</FullPageOfflineView>
</FullPageOfflineBlockingView>
</View>
);
}
Expand Down

0 comments on commit d8f3d68

Please sign in to comment.