Room.tsx
457 Bytes
import React, { useContext } from 'react';
import { useLocation } from 'react-router';
import { Main } from '../components/common/Main';
import { Chat } from '../components/room/Chat';
import { RoomInfo } from '../components/room/RoomInfo';
import SocketContext from '../contexts/SocketContext';
export const Room: React.FC = () => {
return (
<Main>
<RoomInfo />
<div className='w-full'>
<Chat />
</div>
</Main>
);
}