Fix #16
This commit is contained in:
1 parent
a28588afce
commit
d2764dd047
1 file changed
+2
-1
@@ -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 }
|
||||
|
||||
Reference in new issue
Block a user