Skip to content

The agent that grows with you

refactor(desktop): wrap the prepareGatewayForAgent signature at the project width

Jack Lau162aa6d72aab
diff --git a/apps/desktop/src/store/gateway.ts b/apps/desktop/src/store/gateway.ts
index 570ccec6456..8a354a1423c 100644
--- a/apps/desktop/src/store/gateway.ts
+++ b/apps/desktop/src/store/gateway.ts
@@ -677,10 +677,7 @@ export async function openGatewayForAgent(connectionId: null | string, profile:
// contract callers rely on: a source edit/remove can dispose this entry while
// its dial is in flight, and a caller must be able to tell "switched" from
// "the target stopped existing" rather than assume the former.
-export async function prepareGatewayForAgent(
- connectionId: null | string,
- profile: string
-): Promise<() => boolean> {
+export async function prepareGatewayForAgent(connectionId: null | string, profile: string): Promise<() => boolean> {
const scope = registryBackendScopeKey(connectionId, profile)
if (scope === normKey(profile)) {