Builds for
1 pipeline
failed
in
1 minute 22 seconds
Room 컴포넌트에 Canvas 컴포넌트 추가
Showing
1 changed file
with
3 additions
and
1 deletions
| 1 | import React, { useContext } from 'react'; | 1 | import React, { useContext } from 'react'; |
| 2 | import { useLocation } from 'react-router'; | 2 | import { useLocation } from 'react-router'; |
| 3 | import { Main } from '../components/common/Main'; | 3 | import { Main } from '../components/common/Main'; |
| 4 | +import { Canvas } from '../components/room/Canvas'; | ||
| 4 | import { Chat } from '../components/room/Chat'; | 5 | import { Chat } from '../components/room/Chat'; |
| 5 | import { RoomInfo } from '../components/room/RoomInfo'; | 6 | import { RoomInfo } from '../components/room/RoomInfo'; |
| 6 | import SocketContext from '../contexts/SocketContext'; | 7 | import SocketContext from '../contexts/SocketContext'; |
| ... | @@ -9,7 +10,8 @@ export const Room: React.FC = () => { | ... | @@ -9,7 +10,8 @@ export const Room: React.FC = () => { |
| 9 | return ( | 10 | return ( |
| 10 | <Main> | 11 | <Main> |
| 11 | <RoomInfo /> | 12 | <RoomInfo /> |
| 12 | - <div className='w-full'> | 13 | + <div className='w-full flex'> |
| 14 | + <Canvas /> | ||
| 13 | <Chat /> | 15 | <Chat /> |
| 14 | </div> | 16 | </div> |
| 15 | </Main> | 17 | </Main> | ... | ... |
-
Please register or login to post a comment