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() {
|
export default function App() {
|
||||||
return (
|
return (
|
||||||
<div style={{ padding: '1rem' }}>
|
<>
|
||||||
<BrowserRouter>
|
<a href="https://ion.tjhsst.edu/oauth/authorize?response_type=code&client_id=ojfWWAyRyfTpNB4tNUKjcYTVytpi7moNt21M857O">Login Link for Testing Oauth</a>
|
||||||
<Switch>
|
<div style={{ padding: '1rem' }}>
|
||||||
<Route path="/" exact component={WheelShare} />
|
<BrowserRouter>
|
||||||
<Suspense fallback={null}>
|
<Switch>
|
||||||
<Route path="/groups/:id" component={Group} />
|
<Route path="/" exact component={WheelShare} />
|
||||||
</Suspense>
|
<Suspense fallback={null}>
|
||||||
</Switch>
|
<Route path="/groups/:id" component={Group} />
|
||||||
</BrowserRouter>
|
</Suspense>
|
||||||
</div>
|
</Switch>
|
||||||
|
</BrowserRouter>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user