sdy

update Router

...@@ -2,13 +2,13 @@ import React from "react"; ...@@ -2,13 +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 RoomList from "./Room/RoomContainer";
6 import Home from "../Components/Home"; 6 import Home from "../Components/Home";
7 import OTOChat from "./OTOChat/OTOChatContainer"; 7 import OTOChat from "./OTOChat/OTOChatContainer";
8 8
9 const LoggedInRoutes = () => ( 9 const LoggedInRoutes = () => (
10 <> 10 <>
11 - <Route exact path="/" component={ChannelList} /> 11 + <Route exact path="/" component={RoomList} />
12 <Route path="/OTOChat" component={OTOChat} /> 12 <Route path="/OTOChat" component={OTOChat} />
13 <Route path="/RandomChat" component={Home} /> 13 <Route path="/RandomChat" component={Home} />
14 <Route path="/CategoryChat" component={Home} /> 14 <Route path="/CategoryChat" component={Home} />
......