fix: keep world login separate from router proof

This commit is contained in:
冰朔 2026-08-04 21:13:00 +08:00
commit 07a573f660
2 changed files with 11 additions and 12 deletions

View file

@ -117,18 +117,7 @@ export function HoloLakeHome({
const worldOpen = login.state.phase === 'online'
const isVisualPreview = login.state.workorderId === 'local-visual-preview'
const fifthDomainOpen = worldOpen && route !== 'world'
const worldRouterState = worldOpen && router.state.status !== 'online'
? {
...router.state,
latestReceipt: {
connection_id: login.state.workorderId ?? 'email-authorized-session',
node_id: login.state.nodeId,
receipt_id: login.state.workorderId ?? 'email-authorized-session',
state: 'online',
},
status: 'online' as const,
}
: router.state
const worldRouterState = router.state
const t = (key: TranslationKey) => translate(locale, key)
const executeLivingPlan = useCallback((