Don't rely on ['auth', 'me']

This commit is contained in:
Alex Gleason
2021-03-30 00:23:29 -05:00
parent dcd08b2b3f
commit 09cbcf6145
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ export const isLoggedIn = getState => {
};
export const getAccessToken = state => {
const me = state.getIn(['auth', 'me']);
const me = state.get('me');
return state.getIn(['auth', 'users', me, 'access_token']);
};