trying to take out the create room object
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import { Modal } from "antd";
|
||||
import { useKeyboardContext } from "../../contexts/keyboardContext";
|
||||
|
||||
export default function CreateRoom() {
|
||||
const { createRoom } = useKeyboardContext();
|
||||
|
||||
console.log(createRoom);
|
||||
|
||||
export default function CreateRoom({ show }) {
|
||||
return (
|
||||
<Modal
|
||||
title="Create Room"
|
||||
centered
|
||||
visible={show}
|
||||
visible={createRoom.showModal}
|
||||
// onOk={() => this.setModal2Visible(false)}
|
||||
// onCancel={() => this.setModal2Visible(false)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user