mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 11:20:17 -04:00
commit on 'main'
This commit is contained in:
parent
12c0f9d32f
commit
fcaac3d419
|
@ -6,15 +6,18 @@ const Group = lazy(() => import('./Group'));
|
|||
|
||||
export default function App() {
|
||||
return (
|
||||
<div style={{ padding: '1rem' }}>
|
||||
<BrowserRouter>
|
||||
<Switch>
|
||||
<Route path="/" exact component={WheelShare} />
|
||||
<Suspense fallback={null}>
|
||||
<Route path="/groups/:id" component={Group} />
|
||||
</Suspense>
|
||||
</Switch>
|
||||
</BrowserRouter>
|
||||
</div>
|
||||
<>
|
||||
<a href="https://ion.tjhsst.edu/oauth/authorize?response_type=code&client_id=ojfWWAyRyfTpNB4tNUKjcYTVytpi7moNt21M857O">Login Link for Testing Oauth</a>
|
||||
<div style={{ padding: '1rem' }}>
|
||||
<BrowserRouter>
|
||||
<Switch>
|
||||
<Route path="/" exact component={WheelShare} />
|
||||
<Suspense fallback={null}>
|
||||
<Route path="/groups/:id" component={Group} />
|
||||
</Suspense>
|
||||
</Switch>
|
||||
</BrowserRouter>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user