Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit 0010aec

Browse files
committed
show street, state and, city; need show bod
1 parent e2a8bde commit 0010aec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/Profile.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Profile extends React.Component {
2020
email: ""
2121
}
2222
};
23-
23+
console.log(this.userService.getCurrentUser().then(user => console.log(user)))
2424
this.logOut = this.logOut.bind(this);
2525
this.handleInputChange = this.handleInputChange.bind(this);
2626
this.updateUser = this.updateUser.bind(this);
@@ -37,7 +37,11 @@ class Profile extends React.Component {
3737
firstName: user.firstName,
3838
lastName: user.lastName,
3939
zipCode: user.zipCode,
40-
email: user.email
40+
email: user.email,
41+
Street : user.street,
42+
State : user.state,
43+
DOB_MONTH : user.dob,
44+
City: user.city
4145
}
4246
}
4347
)

0 commit comments

Comments
 (0)