fix: keep world login separate from router proof
This commit is contained in:
parent
f5eb5e7cdb
commit
07a573f660
2 changed files with 11 additions and 12 deletions
|
|
@ -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((
|
||||
|
|
|
|||
Loading…
Reference in a new issue