sdy

change route component

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