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
messenger
Commits
499397b7
Commit
499397b7
authored
Jan 22, 2021
by
우지원
Browse files
ㅇ
parent
63b97c7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/Pages/HomePage.js
View file @
499397b7
...
...
@@ -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
)
}
...
...
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