Skip to content

Commit

Permalink
Merge pull request #4416 from Expensify/chirag-race-fix-attempt
Browse files Browse the repository at this point in the history
Attempt at fixing race
  • Loading branch information
chiragsalian authored Aug 5, 2021
2 parents f4e86f3 + 918edfc commit 969f9d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/Navigation/AppNavigator/AuthScreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ import defaultScreenOptions from './defaultScreenOptions';
Onyx.connect({
key: ONYXKEYS.MY_PERSONAL_DETAILS,
callback: (val) => {
if (!val) {
return;
}

const timezone = lodashGet(val, 'timezone', {});
const currentTimezone = moment.tz.guess(true);

Expand Down

0 comments on commit 969f9d2

Please sign in to comment.