diff --git a/frontend/src/component/user/Profile/Profile.tsx b/frontend/src/component/user/Profile/Profile.tsx index 324d2aff7f..5073328bc6 100644 --- a/frontend/src/component/user/Profile/Profile.tsx +++ b/frontend/src/component/user/Profile/Profile.tsx @@ -13,7 +13,7 @@ export const Profile = () => { const { user } = useAuthUser(); const location = useLocation(); const navigate = useNavigate(); - const { config: simpleAuthConfig } = useAuthSettings('simple'); + const { config: simpleAuthConfig, loading } = useAuthSettings('simple'); const { uiConfig } = useUiConfig(); @@ -52,6 +52,8 @@ export const Profile = () => { setTab(tabFromUrl()); }, [location]); + if (loading) return null; + return (