diff --git a/client/src/components/ProfileSheet.js b/client/src/components/ProfileSheet.js index 1d81a4368..d2775451c 100644 --- a/client/src/components/ProfileSheet.js +++ b/client/src/components/ProfileSheet.js @@ -240,7 +240,8 @@ class ProfileSheet extends Component { componentWillMount () { if (this.defaultValuesSet === false) { - let authId = localStorage.getItem('authId') + let authUser = JSON.parse(localStorage.getItem('user')) + let authId = authUser.authId let userData = localStorage.getItem('loggedInUser') if (userData === 'undefined' || userData === null) { return }