Skip to content

Commit

Permalink
fix: wrong attribute name (#117)
Browse files Browse the repository at this point in the history
* fix: wrong attribute name

* version bump
  • Loading branch information
SimonDmz committed Jul 25, 2023
1 parent fc69e49 commit 48485fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pearl",
"version": "1.1.4",
"version": "1.1.5",
"private": true,
"dependencies": {
"@date-io/date-fns": "1.x",
Expand Down
6 changes: 3 additions & 3 deletions src/components/common/userProfile/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ export const UserProfile = ({
user = {
firstName: 'Unknown',
lastName: 'Interviewer',
phone: '0123456789',
phoneNumber: '0123456789',
email: '[email protected]',
},
}) => {
const classes = useStyles();
const { firstName, lastName, phone, email } = user;
const { firstName, lastName, phoneNumber, email } = user;
return (
<Paper className={classes.outterPaper} elevation={0}>
<Typography variant="h5">{D.myProfile}</Typography>
<Paper className={classes.innerPaper} elevation={0}>
<LabelledText labelText={`${D.profileLastName} :`} value={lastName} />
<LabelledText labelText={`${D.profileFirstName} :`} value={firstName} />
<LabelledText labelText={`${D.profileEmail} :`} value={email} />
<LabelledText labelText={`${D.profilePhone} :`} value={phone} />
<LabelledText labelText={`${D.profilePhone} :`} value={phoneNumber} />
</Paper>
<Typography className={classes.version}>{`V.${version}`}</Typography>
</Paper>
Expand Down

0 comments on commit 48485fc

Please sign in to comment.