mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-24 16:54:43 +00:00
fix(desktop): dedup profile in HMR adoptBoot
This commit is contained in:
parent
813ddb4555
commit
1943c1b750
1 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue