Reading authId from local storage
This commit is contained in:
1 parent
4b536dd4a9
commit
2437ac7a31
3 files changed
+19
-4
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user