sdy

rename files

import React from "react";
import { withRouter } from "react-router-dom";
import ChannelPresenter from "./ChannelPresenter";
import RoomPresenter from "./RoomPresenter";
export default withRouter(({ location }) => {
return <ChannelPresenter />;
return <RoomPresenter />;
});
......
import React from "react";
import styled from "styled-components";
import Header from "../../Components/Header";
import ChannelList from "../../Components/ChannelList";
import RoomList from "../../Components/RoomList";
const Wrapper = styled.div`
display: flex;
......@@ -15,7 +15,7 @@ export default ({ location }) => {
return (
<Wrapper>
<Header text={"KhuChat"}></Header>
<ChannelList></ChannelList>
<RoomList></RoomList>
</Wrapper>
);
};
......