Showing
3 changed files
with
4 additions
and
4 deletions
1 | import React from "react"; | 1 | import React from "react"; |
2 | import { withRouter } from "react-router-dom"; | 2 | import { withRouter } from "react-router-dom"; |
3 | -import ChannelPresenter from "./ChannelPresenter"; | 3 | +import RoomPresenter from "./RoomPresenter"; |
4 | 4 | ||
5 | export default withRouter(({ location }) => { | 5 | export default withRouter(({ location }) => { |
6 | - return <ChannelPresenter />; | 6 | + return <RoomPresenter />; |
7 | }); | 7 | }); | ... | ... |
1 | import React from "react"; | 1 | import React from "react"; |
2 | import styled from "styled-components"; | 2 | import styled from "styled-components"; |
3 | import Header from "../../Components/Header"; | 3 | import Header from "../../Components/Header"; |
4 | -import ChannelList from "../../Components/ChannelList"; | 4 | +import RoomList from "../../Components/RoomList"; |
5 | 5 | ||
6 | const Wrapper = styled.div` | 6 | const Wrapper = styled.div` |
7 | display: flex; | 7 | display: flex; |
... | @@ -15,7 +15,7 @@ export default ({ location }) => { | ... | @@ -15,7 +15,7 @@ export default ({ location }) => { |
15 | return ( | 15 | return ( |
16 | <Wrapper> | 16 | <Wrapper> |
17 | <Header text={"KhuChat"}></Header> | 17 | <Header text={"KhuChat"}></Header> |
18 | - <ChannelList></ChannelList> | 18 | + <RoomList></RoomList> |
19 | </Wrapper> | 19 | </Wrapper> |
20 | ); | 20 | ); |
21 | }; | 21 | }; | ... | ... |
-
Please register or login to post a comment