sdy

update room URL component

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