mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -05:00
Merge pull request #840 from logto-io/charles-fix-infinite-loading-when-not-authenticated
fix(console): fix infinite loading issue when not authenticated
This commit is contained in:
commit
a85b9b6520
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ const Main = () => {
|
|||
}
|
||||
}, [location.pathname, navigate, sections]);
|
||||
|
||||
if (!sections?.length) {
|
||||
if (isAuthenticated && !sections?.length) {
|
||||
return <LogtoLoading message="general.loading" />;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue