fix: project live enterprise domain state

This commit is contained in:
冰朔 2026-08-04 21:11:26 +08:00
commit f5eb5e7cdb
2 changed files with 43 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import { openExternalUrl } from '../utils/url'
import { useGuanghuRouter } from '../hooks/useGuanghuRouter'
import { useGuanghuShanghaiNode } from '../hooks/useGuanghuShanghaiNode'
import { useGuanghuWorldLogin } from '../hooks/useGuanghuWorldLogin'
import { INITIAL_GUANGHU_ENTERPRISE_STATE } from '../lib/guanghuEnterprise'
import { useGuanghuEnterpriseStatus } from '../hooks/useGuanghuEnterpriseStatus'
import type { AiModelTarget } from '../lib/aiTargets'
import {
createDeterministicLivingSystemPlan,
@ -110,7 +110,7 @@ export function HoloLakeHome({
>({ status: 'checking' })
const router = useGuanghuRouter()
const login = useGuanghuWorldLogin()
const enterprise = { state: INITIAL_GUANGHU_ENTERPRISE_STATE }
const enterprise = useGuanghuEnterpriseStatus()
const shanghai = useGuanghuShanghaiNode()
const restoreAttempted = useRef(false)
const livingRequestSequence = useRef(0)