This commit is contained in:
Luis Fernando Molina committed 2018-11-02 12:12:32 +01:00
1 parent a28588afce
commit d2764dd047
1 file changed
+2 -1
+2 -1
View File
@@ -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 }