From e69ab1368f8e30ac1c458dfc235beec498810ce8 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 16 Oct 2018 16:03:57 +0200 Subject: [PATCH] UserProfile Working now --- client/src/components/UserProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/UserProfile.js b/client/src/components/UserProfile.js index 384c4b626..21906da18 100644 --- a/client/src/components/UserProfile.js +++ b/client/src/components/UserProfile.js @@ -47,7 +47,7 @@ const styles = theme => ({ class UserProfile extends Component { displayUserProfile () { - const {user} = this.props.data + const user = this.props.data.users_User const { classes } = this.props if (user) {