1 parent 2900b4a commit 652fd8cCopy full SHA for 652fd8c
1 file changed
packages/hub-ui/src/client/state/context.ts
@@ -637,6 +637,7 @@ export async function createDocksContext(
637
// the captured session intent.
638
// `switchEntry` then consumes the persisted iframe route when the view boots.
639
const restoreAfterInitialization = async (): Promise<void> => {
640
+ // The authorization gate can still clear the live session on reload, so restore only after it settles.
641
await waitUntilTrusted()
642
643
const restoreDockId = restoreIntent.selectedDockId
0 commit comments