Skip to content

Commit bc87637

Browse files
cevianclaude
andcommitted
fix(dev-ui): remove auto-assignment of single connections
Users should explicitly choose which connection to assign, even when there is only one available for an integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 158b389 commit bc87637

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/core/dev-ui/src/components/IntegrationSection.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ export function IntegrationSection({
4646
[connectionsApi, workflowName, nodeName, integrationId],
4747
);
4848

49-
// Auto-assign when there's exactly one connection and none is mapped
50-
useEffect(() => {
51-
if (!nangoLoading && nangoConnections.length === 1 && !current) {
52-
handleSelect(nangoConnections[0].connection_id);
53-
}
54-
}, [nangoLoading, nangoConnections, current, handleSelect]);
55-
5649
// Auto-trigger connect flow when deep-linked with autoConnect
5750
const [autoConnectFired, setAutoConnectFired] = useState(false);
5851

0 commit comments

Comments
 (0)