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
33179169
Commit
33179169
authored
Aug 05, 2021
by
우지원
Browse files
Merge remote-tracking branch 'origin/jaeyeon' into woojiweon2
parents
a3590849
13fb60af
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/components/Room/RoomHeader.js
View file @
33179169
...
@@ -9,7 +9,7 @@ const INIT_ROOM = {
...
@@ -9,7 +9,7 @@ const INIT_ROOM = {
const
RoomHeader
=
()
=>
{
const
RoomHeader
=
()
=>
{
const
{
roomId
}
=
useParams
();
const
{
roomId
,
channelId
}
=
useParams
();
const
[
room
,
setRoom
]
=
useState
([
INIT_ROOM
]);
const
[
room
,
setRoom
]
=
useState
([
INIT_ROOM
]);
const
[
error
,
setError
]
=
useState
(
""
)
const
[
error
,
setError
]
=
useState
(
""
)
async
function
getRoom
(
Id
)
{
async
function
getRoom
(
Id
)
{
...
@@ -47,7 +47,7 @@ const RoomHeader = () => {
...
@@ -47,7 +47,7 @@ const RoomHeader = () => {
color
:
'
#6c33a2
'
,
color
:
'
#6c33a2
'
,
}}
}}
>
>
#
회의
#
{
channelId
}
<
/a
>
<
/a
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
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