import { useChatContext } from "../contexts/ChatContext.tsx"; import { Drawer } from "@mantine/core"; import Chat from "../../../components/Chat/Chat.tsx"; const ClientChatDrawer = () => { const { chat, setChat } = useChatContext(); if (!chat) return; return ( setChat(null)} position={"right"} size={"calc(50vw)"} withCloseButton={false} > ); }; export default ClientChatDrawer;