sdy

add new Routes

...@@ -3,14 +3,15 @@ import PropTypes from "prop-types"; ...@@ -3,14 +3,15 @@ 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 Home from "../Components/Home"; 5 import Home from "../Components/Home";
6 +import OTOChat from "./OTOChat/OTOChatContainer";
6 7
7 const LoggedInRoutes = () => ( 8 const LoggedInRoutes = () => (
8 <> 9 <>
9 - <Route exact path="/" component={Home} /> 10 + <Route path="/Home" component={Home} />
10 - <Route exact path="/OTOChat" component={Home} /> 11 + <Route path="/OTOChat" component={OTOChat} />
11 - <Route exact path="/RandomChat" component={Home} /> 12 + <Route path="/RandomChat" component={Home} />
12 - <Route exact path="/CategoryChat" component={Home} /> 13 + <Route path="/CategoryChat" component={Home} />
13 - <Route exact path="/Profile" component={Home} /> 14 + <Route path="/Profile" component={Home} />
14 </> 15 </>
15 ); 16 );
16 17
......