commit on 'main'

This commit is contained in:
Nitin Kanchinadam 2021-07-01 14:10:49 -04:00
parent 12c0f9d32f
commit fcaac3d419

View File

@ -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>
</>
); );
} }