Skip to content

Commit

Permalink
Update user.ts (microsoft#3825)
Browse files Browse the repository at this point in the history
  • Loading branch information
beyackle authored Aug 10, 2020
1 parent 0c3c06b commit 24dc906
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Composer/packages/client/src/recoilModel/dispatchers/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import jwtDecode from 'jwt-decode';

import { userSettingsState, currentUserState, CurrentUser } from '../atoms/appState';
import { getUserTokenFromCache, loginPopup, refreshToken } from '../../utils/auth';
import storage from '../../utils/storage';
import { UserSettingsPayload } from '../types';

enum ClaimNames {
Expand Down Expand Up @@ -83,6 +84,7 @@ export const userDispatcher = () => {
}
}
}
storage.set('userSettings', newSettings);
return newSettings;
});
}
Expand Down

0 comments on commit 24dc906

Please sign in to comment.