Added react icons. Additional work on Job tombstone page.

This commit is contained in:
Patrick Fic
2020-01-02 11:33:08 -08:00
parent 8969108cc4
commit b72665fc81
12 changed files with 105 additions and 45 deletions

View File

@@ -94,15 +94,15 @@ export default () => {
<div>
<Switch>
<ErrorBoundary>
<Suspense fallback={<div>Suspended Loading...</div>}>
<Route exact path="/" component={LandingPage} />
<Route exact path="/unauthorized" component={Unauthorized} />
<Suspense fallback={<div>TODO: Suspense Loading</div>}>
<Route exact path='/' component={LandingPage} />
<Route exact path='/unauthorized' component={Unauthorized} />
<Route
exact
path="/signin"
path='/signin'
render={() =>
HookCurrentUser.data.currentUser ? (
<Redirect to="/manage" />
<Redirect to='/manage' />
) : (
<SignInPage />
)
@@ -110,7 +110,7 @@ export default () => {
/>
<PrivateRoute
isAuthorized={HookCurrentUser.data.currentUser ? true : false}
path="/manage"
path='/manage'
component={ManagePage}
/>
</Suspense>