Skip to content

Commit

Permalink
Merge pull request #49515 from dominictb/fix/48941
Browse files Browse the repository at this point in the history
fix: set currentAccountID to -1 when signing out
  • Loading branch information
yuwenmemon authored Oct 1, 2024
2 parents 7108478 + 7a43294 commit 82e4fbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/Navigation/AppNavigator/AuthScreens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Onyx.connect({
callback: (value) => {
// When signed out, val hasn't accountID
if (!(value && 'accountID' in value)) {
currentAccountID = -1;
timezone = null;
return;
}
Expand Down

0 comments on commit 82e4fbb

Please sign in to comment.