Skip to content

Commit

Permalink
Merge pull request #20543 from Expensify/francois-workspaceLoading
Browse files Browse the repository at this point in the history
Use `withPolicyAndFullscreenLoading` in WorkspacesListPage
  • Loading branch information
Hayata Suenaga authored Jun 12, 2023
2 parents 6035b3e + 16b0131 commit 62fec8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/workspace/WorkspacesListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {withNetwork} from '../../components/OnyxProvider';
import * as ReimbursementAccountProps from '../ReimbursementAccount/reimbursementAccountPropTypes';
import * as ReportUtils from '../../libs/ReportUtils';
import * as CurrencyUtils from '../../libs/CurrencyUtils';
import withPolicyAndFullscreenLoading from './withPolicyAndFullscreenLoading';

const propTypes = {
/* Onyx Props */
Expand Down Expand Up @@ -211,6 +212,7 @@ WorkspacesListPage.defaultProps = defaultProps;

export default compose(
withLocalize,
withPolicyAndFullscreenLoading,
withNetwork(),
withOnyx({
policies: {
Expand Down

0 comments on commit 62fec8d

Please sign in to comment.