Commit 499397b7 authored by 우지원's avatar 우지원
Browse files

parent 63b97c7c
......@@ -56,8 +56,8 @@ function Home() {
const roomInf = await axios.get('/room/changeMem', { params: { 'roomId': roomId } })
console.log(roomInf)
console.log(roomInf.data)
console.log(roomInf.data.[0])
setRoom(roomInf.data.[0])
console.log(roomInf.data[0])
setRoom(roomInf.data[0])
setShow(false)
}
......
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