mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 02:16:18 +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 ? (
|
||||
<Route component={callbackComponent} path={ROUTES.CALLBACK} />
|
||||
) : null}
|
||||
<Route exact component={PageNotFound} path={ROUTES.NOT_FOUND} />
|
||||
{isAuthDisabled || isAuthenticated ? (
|
||||
<AuthenticatedAppRouter />
|
||||
) : (
|
||||
@ -180,6 +179,7 @@ const AppRouter = () => {
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Route exact component={PageNotFound} path={ROUTES.NOT_FOUND} />
|
||||
</Switch>
|
||||
</>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user