Skip to content

Commit

Permalink
Merge pull request #65 from apacblocks/user-undefined-fix
Browse files Browse the repository at this point in the history
Problem: Reference Error thrown for user
  • Loading branch information
gsovereignty authored Sep 19, 2019
2 parents c01b785 + df44460 commit 68f4184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/ui/pages/Users/ViewProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function ViewProfile(props) {
<TopNav topNavStart={topNavStart} />
<Grid className={classes.root} container direction="column" justify="center" alignItems="center" style={{ marginTop: '50px' }}>
<Avatar alt={props.user.profile.realName} className={classes.avatar} >
<img src={'https://avatars.dicebear.com/v2/gridy/' + user._id + 'xx' + '.svg'} height='100px' width="auto"/>
<img src={'https://avatars.dicebear.com/v2/gridy/' + props.user._id + 'xx' + '.svg'} height='100px' width="auto"/>
</Avatar>
<Typography variant="h6" component="h6" gutterBottom>
{props.user.profile.realName}
Expand Down

0 comments on commit 68f4184

Please sign in to comment.