fix(desktop): dedup profile in HMR adoptBoot

This commit is contained in:
Brooklyn Nicholson 2026-06-25 23:51:10 -05:00
parent 813ddb4555
commit 1943c1b750

View file

@ -547,8 +547,9 @@ export function useGatewayBoot({
publish(survivor.connection)
}
$activeGatewayProfile.set(survivor?.profile ?? $activeGatewayProfile.get())
void ensureGatewayForProfile(survivor?.profile ?? $activeGatewayProfile.get())
const profile = survivor?.profile ?? $activeGatewayProfile.get()
$activeGatewayProfile.set(profile)
void ensureGatewayForProfile(profile)
// Mirror the current (already-open) socket state into the composer so the
// input doesn't sit disabled after the swap.