style(web): format support admin session changes

This commit is contained in:
dadachann
2026-07-31 07:31:16 +00:00
parent b0ece9c455
commit b97a65bdea
2 changed files with 10 additions and 10 deletions
+1 -4
View File
@@ -157,10 +157,7 @@ export default function HomeLayout({
// selected Workspace's wizard state.
useEffect(() => {
if (!identityReady) return;
if (
systemInfo?.wizard_status === 'none' &&
!isSupportAdminSession()
) {
if (systemInfo?.wizard_status === 'none' && !isSupportAdminSession()) {
navigate('/wizard', { replace: true });
}
}, [identityReady, navigate]);