import { useParams } from "react-router"; import Createchannel from "./Createchannel"; import Deletechannel from "./Deletechannel"; const Channelsettingchange = (props) => { const { roomId } = useParams(); console.log(props); console.log(roomId); return (