shivam413 commited on
Commit
b6ff73a
·
verified ·
1 Parent(s): 18510dc

Update components/Room.tsx

Browse files
Files changed (1) hide show
  1. components/Room.tsx +9 -1
components/Room.tsx CHANGED
@@ -13,6 +13,8 @@ import PlaylistMenu from "./playlist/PlaylistMenu"
13
  import IconLoop from "./icon/IconLoop"
14
  import InputUrl from "./input/InputUrl"
15
  import UserList from "./user/UserList"
 
 
16
 
17
  interface Props {
18
  id: string
@@ -102,6 +104,12 @@ const Room: FC<Props> = ({ id }) => {
102
  </InputUrl>
103
  </div>
104
 
 
 
 
 
 
 
105
  <UserList socket={socket} />
106
  </div>
107
 
@@ -110,4 +118,4 @@ const Room: FC<Props> = ({ id }) => {
110
  )
111
  }
112
 
113
- export default Room
 
13
  import IconLoop from "./icon/IconLoop"
14
  import InputUrl from "./input/InputUrl"
15
  import UserList from "./user/UserList"
16
+ import ChatPanel from "./chat/ChatPanel"
17
+ import YoutubeSearch from "./search/YoutubeSearch"
18
 
19
  interface Props {
20
  id: string
 
104
  </InputUrl>
105
  </div>
106
 
107
+ {/* Chat + YouTube Search */}
108
+ <div className="grid grid-cols-1 md:grid-cols-2 gap-2 p-1">
109
+ <ChatPanel socket={socket} />
110
+ <YoutubeSearch socket={socket} />
111
+ </div>
112
+
113
  <UserList socket={socket} />
114
  </div>
115
 
 
118
  )
119
  }
120
 
121
+ export default Room