sdy

change route component

......@@ -9,8 +9,8 @@ const LoggedInRoutes = () => (
<Switch>
<Route exact path="/" component={RoomList} />
<Route exact path="/:roomname" component={Chat} />
<Route path="/:roomname/People" component={Auth} />
<Route path="/:roomname/:categoryName" component={Auth} />
<Route path="/:roomname/People" component={Chat} />
<Route path="/:roomname/:categoryName" component={Chat} />
<Redirect from="*" to="/" />
</Switch>
);
......