Reading authId from local storage

This commit is contained in:
Luis Fernando Molina committed 2018-09-07 11:22:37 +02:00
1 parent 4b536dd4a9
commit 2437ac7a31
3 files changed
+19 -4

No files matched your search

+2 -1
View File
@@ -8,7 +8,8 @@ class LoggedInUser extends Component {
displayLoggedInUser(){
const user = this.props.data.userByAuthId;
console.log(this.props);
if(user){
if (user.firstName) {
return(