sdy

update Routes

......@@ -3,12 +3,14 @@ import PropTypes from "prop-types";
import { Route, Switch, Redirect } from "react-router-dom";
import Auth from "./Auth/AuthContainer";
import RoomList from "./Room/RoomContainer";
import Chat from "../Components/ChatScreen";
import Chat from "./Chat/ChatContainer";
const LoggedInRoutes = () => (
<Switch>
<Route exact path="/" component={RoomList} />
<Route path="/:roomname" component={Chat} />
<Route exact path="/:roomname" component={Chat} />
<Route path="/:roomname/People" component={Auth} />
<Route path="/:roomname/:categoryName" component={Auth} />
<Redirect from="*" to="/" />
</Switch>
);
......