Skip to content

Commit

Permalink
Merge pull request #9697 from Expensify/cmartins-refactorGetUserDetails
Browse files Browse the repository at this point in the history
Refactor getUserDetails in App
  • Loading branch information
luacmartins authored Jul 15, 2022
2 parents d2c03dc + af39ed0 commit 454fbd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/libs/Navigation/AppNavigator/AuthScreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ class AuthScreens extends React.Component {
return;
}
PersonalDetails.fetchPersonalDetails();
User.getUserDetails();
User.getBetas();
}, 1000 * 60 * 30));

Expand Down
1 change: 0 additions & 1 deletion src/libs/actions/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ AppState.addEventListener('change', (nextAppState) => {
* @returns {Promise}
*/
function getAppData(shouldSyncPolicyList = true) {
User.getUserDetails();
User.getDomainInfo();
PersonalDetails.fetchLocalCurrency();
BankAccounts.fetchUserWallet();
Expand Down

0 comments on commit 454fbd2

Please sign in to comment.