mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 18:36:08 +00:00
Fix 404 page is not rendering issue (#7786)
* Fix 404 page is not rendering issue * Make changes in AppRouter
This commit is contained in:
parent
a946c3fc5a
commit
d563c45b16
@ -157,7 +157,6 @@ const AppRouter = () => {
|
|||||||
{callbackComponent ? (
|
{callbackComponent ? (
|
||||||
<Route component={callbackComponent} path={ROUTES.CALLBACK} />
|
<Route component={callbackComponent} path={ROUTES.CALLBACK} />
|
||||||
) : null}
|
) : null}
|
||||||
<Route exact component={PageNotFound} path={ROUTES.NOT_FOUND} />
|
|
||||||
{isAuthDisabled || isAuthenticated ? (
|
{isAuthDisabled || isAuthenticated ? (
|
||||||
<AuthenticatedAppRouter />
|
<AuthenticatedAppRouter />
|
||||||
) : (
|
) : (
|
||||||
@ -180,6 +179,7 @@ const AppRouter = () => {
|
|||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
<Route exact component={PageNotFound} path={ROUTES.NOT_FOUND} />
|
||||||
</Switch>
|
</Switch>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user