Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -2,12 +2,13 @@ import React from "react"; | ... | @@ -2,12 +2,13 @@ import React from "react"; |
2 | import PropTypes from "prop-types"; | 2 | import PropTypes from "prop-types"; |
3 | import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; | 3 | import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; |
4 | import Auth from "./Auth/AuthContainer"; | 4 | import Auth from "./Auth/AuthContainer"; |
5 | +import ChannelList from "./Channel/ChannelContainer"; | ||
5 | import Home from "../Components/Home"; | 6 | import Home from "../Components/Home"; |
6 | import OTOChat from "./OTOChat/OTOChatContainer"; | 7 | import OTOChat from "./OTOChat/OTOChatContainer"; |
7 | 8 | ||
8 | const LoggedInRoutes = () => ( | 9 | const LoggedInRoutes = () => ( |
9 | <> | 10 | <> |
10 | - <Route exact path="/" component={Home} /> | 11 | + <Route exact path="/" component={ChannelList} /> |
11 | <Route path="/OTOChat" component={OTOChat} /> | 12 | <Route path="/OTOChat" component={OTOChat} /> |
12 | <Route path="/RandomChat" component={Home} /> | 13 | <Route path="/RandomChat" component={Home} /> |
13 | <Route path="/CategoryChat" component={Home} /> | 14 | <Route path="/CategoryChat" component={Home} /> | ... | ... |
-
Please register or login to post a comment