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) {