Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
bora-it
Commits
68452dea
Commit
68452dea
authored
Aug 01, 2021
by
우지원
Browse files
o
parent
c8e83894
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/components/Home/HomeProfile.js
View file @
68452dea
...
@@ -17,7 +17,7 @@ const HomeProfile = () => {
...
@@ -17,7 +17,7 @@ const HomeProfile = () => {
try
{
try
{
// console.log('userID', userID)
// console.log('userID', userID)
// `/users/${userId}`
// `/users/${userId}`
const
data
=
await
userApi
.
getUser
(
`/user/
${
userI
d
}
`
)
const
data
=
await
userApi
.
getUser
(
userI
D
)
// console.log(data)
// console.log(data)
setUser
(
data
)
setUser
(
data
)
// console.log(user)
// console.log(user)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment