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

(cherry picked from commit 969f9d2)
  • Loading branch information
chiragsalian authored and OSBotify committed Aug 5, 2021
1 parent b8b94fe commit ed8f972
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 @@ -69,6 +69,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 ed8f972

Please sign in to comment.