Added react icons. Additional work on Job tombstone page.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user