Commit bac11a0f authored by 이재연's avatar 이재연
Browse files

aa

parent 77c13e0c
......@@ -5,12 +5,6 @@ import { useState } from 'react'
const ChannelList = () => {
function copyLink(){
const copyLink=document.getElementById('copycode')
document.execCommand('copy');
console.log('너죽을래')
}
return (
<div>
<nav className="navbar navbar-light d-flex justify-content-between">
......@@ -58,7 +52,7 @@ const ChannelList = () => {
<h5 className="col-6 offcanvas-title" id="offcanvasExampleLabel">
음성 채널 목록
</h5>
<button className="mt-2" id='copycode' onClick={copyLink()}> #ASV2AE985 </button>
<button className="mt-2" > #ASV2AE985 </button>
<button
type="button"
className="btn-close text-reset"
......
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