Commit 68452dea authored by 우지원's avatar 우지원
Browse files

o

parent c8e83894
...@@ -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/${userId}`) const data = await userApi.getUser(userID)
// console.log(data) // console.log(data)
setUser(data) setUser(data)
// console.log(user) // console.log(user)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment