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
bac11a0f
Commit
bac11a0f
authored
Jul 12, 2021
by
이재연
Browse files
aa
parent
77c13e0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/components/Room/ChannelList.js
View file @
bac11a0f
...
@@ -5,12 +5,6 @@ import { useState } from 'react'
...
@@ -5,12 +5,6 @@ import { useState } from 'react'
const
ChannelList
=
()
=>
{
const
ChannelList
=
()
=>
{
function
copyLink
(){
const
copyLink
=
document
.
getElementById
(
'
copycode
'
)
document
.
execCommand
(
'
copy
'
);
console
.
log
(
'
너죽을래
'
)
}
return
(
return
(
<
div
>
<
div
>
<
nav
className
=
"
navbar navbar-light d-flex justify-content-between
"
>
<
nav
className
=
"
navbar navbar-light d-flex justify-content-between
"
>
...
@@ -58,7 +52,7 @@ const ChannelList = () => {
...
@@ -58,7 +52,7 @@ const ChannelList = () => {
<
h5
className
=
"
col-6 offcanvas-title
"
id
=
"
offcanvasExampleLabel
"
>
<
h5
className
=
"
col-6 offcanvas-title
"
id
=
"
offcanvasExampleLabel
"
>
음성
채널
목록
음성
채널
목록
<
/h5
>
<
/h5
>
<
button
className
=
"
mt-2
"
id
=
'
copycode
'
onClick
=
{
copyLink
()}
>
#
ASV2AE985
<
/button
>
<
button
className
=
"
mt-2
"
>
#
ASV2AE985
<
/button
>
<
button
<
button
type
=
"
button
"
type
=
"
button
"
className
=
"
btn-close text-reset
"
className
=
"
btn-close text-reset
"
...
...
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