sdy

add route

...@@ -3,7 +3,7 @@ import PropTypes from "prop-types"; ...@@ -3,7 +3,7 @@ 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 RoomList from "./Room/RoomContainer"; 5 import RoomList from "./Room/RoomContainer";
6 -import Main from "./Main/MainPresenter"; 6 +import Main from "./MainPresenter";
7 7
8 const LoggedInRoutes = () => ( 8 const LoggedInRoutes = () => (
9 <Switch> 9 <Switch>
...@@ -14,6 +14,7 @@ const LoggedInRoutes = () => ( ...@@ -14,6 +14,7 @@ const LoggedInRoutes = () => (
14 const LoggedOutRoutes = () => ( 14 const LoggedOutRoutes = () => (
15 <Switch> 15 <Switch>
16 <Route exact path="/auth" component={Auth} /> 16 <Route exact path="/auth" component={Auth} />
17 + <Route exact path="/forum" component={Main} />
17 <Route exact path="/about" component={Main} /> 18 <Route exact path="/about" component={Main} />
18 <Route exact path="/features" component={Main} /> 19 <Route exact path="/features" component={Main} />
19 <Route exact path="/support" component={Main} /> 20 <Route exact path="/support" component={Main} />
......