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