Skip to content

Commit

Permalink
rm getUserDetails from App init
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jul 7, 2022
1 parent feff919 commit 92416ec
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 @@ -78,7 +78,6 @@ AppState.addEventListener('change', (nextAppState) => {
* @returns {Promise}
*/
function getAppData(shouldSyncPolicyList = true) {
User.getUserDetails();
User.getBetas();
User.getDomainInfo();
PersonalDetails.fetchLocalCurrency();
Expand Down

0 comments on commit 92416ec

Please sign in to comment.