import UserState from "./UserState"; import { Link } from "react-router-dom"; import KakaoShareButton from "../KakaoShareButton"; import { useEffect } from "react"; const LeftHamberger = () => { useEffect(() => { const script = document.createElement("script"); script.src = "https://developers.kakao.com/sdk/js/kakao.js"; script.async = true; document.body.appendChild(script); return () => { document.body.removeChild(script); }; }, []); // function KakaoCode() { // window.location.href // ="https://kauth.kakao.com/oauth/authorize?client_id=ca4c7126765a1dfd4c127c27415d4abc&redirect_uri=http://localhost:3000/room/Invite&response_type=code&prompt=login&scope=talk_message,friends" // } function roomIdCopy() { const t = document.querySelector("#roomId").innerText; console.log(t); navigator.clipboard.writeText(t); //document.execCommand("copy"); } return (

온/오프라인 사용자

{" "} #ASV2AE985{" "}
); }; export default LeftHamberger;