mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 19:29:51 -04:00
Add Logout page
This commit is contained in:
parent
d75bc53eaf
commit
422f745b7e
|
@ -16,6 +16,7 @@ import Main from './components/Main';
|
||||||
import './App.css';
|
import './App.css';
|
||||||
import Authenticator from './components/Authenticator';
|
import Authenticator from './components/Authenticator';
|
||||||
import AuthenticationWrapper from './components/AuthenticationWrapper';
|
import AuthenticationWrapper from './components/AuthenticationWrapper';
|
||||||
|
import Logout from './components/Logout';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
|
@ -33,6 +34,7 @@ function App() {
|
||||||
<Route component={Pool} path="/pools/:id" />
|
<Route component={Pool} path="/pools/:id" />
|
||||||
<Route component={Groups} path="/groups" />
|
<Route component={Groups} path="/groups" />
|
||||||
<Route component={Profile} path="/profile" />
|
<Route component={Profile} path="/profile" />
|
||||||
|
<Route component={Logout} path="/logout" />
|
||||||
<Route component={Home} path="/" />
|
<Route component={Home} path="/" />
|
||||||
</Switch>
|
</Switch>
|
||||||
</BrowserRouter>
|
</BrowserRouter>
|
||||||
|
|
3
src/components/PoolMap.tsx
Normal file
3
src/components/PoolMap.tsx
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export default function PoolMap() {
|
||||||
|
//
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user