sdy

remove roomlist and add main

...@@ -3,7 +3,6 @@ import PropTypes from "prop-types"; ...@@ -3,7 +3,6 @@ import PropTypes from "prop-types";
3 import { Route, Switch } from "react-router-dom"; 3 import { Route, Switch } from "react-router-dom";
4 import Auth from "./Auth/AuthContainer"; 4 import Auth from "./Auth/AuthContainer";
5 import About from "./About"; 5 import About from "./About";
6 -import RoomList from "./Room/RoomContainer";
7 import Main from "./MainPresenter"; 6 import Main from "./MainPresenter";
8 import Forum from "./Forum/ForumPresenter"; 7 import Forum from "./Forum/ForumPresenter";
9 import Features from "./Features"; 8 import Features from "./Features";
...@@ -12,7 +11,7 @@ import Chat from "./Chat/ChatContainer"; ...@@ -12,7 +11,7 @@ import Chat from "./Chat/ChatContainer";
12 11
13 const LoggedInRoutes = () => ( 12 const LoggedInRoutes = () => (
14 <Switch> 13 <Switch>
15 - <Route path="/roomlist" component={RoomList} /> 14 + <Route exact path="/" component={Main} />
16 <Route path="/chat" component={Chat} /> 15 <Route path="/chat" component={Chat} />
17 </Switch> 16 </Switch>
18 ); 17 );
......