History

Avoid rerendering suggested SSH host rows

Cursor Agent committed 4 months ago

Commit 509ac3f1 parent 22f021e1 file · +1 −1Browse files

Unified · Split

apps/web/src/components/settings/ConnectionsSettings.tsx+1−1
@@ -2749,7 +2749,7 @@ export function ConnectionsSettings() { · 2748 unmodified lines
27492749 key={`${target.alias}:${target.hostname}:${target.port ?? ""}`}
27502750 target={target}
27512751 connectingHostAlias={connectingSshHostAlias}
2752− onConnect={(nextTarget) => void handleConnectSshHost(nextTarget)}
2752+ onConnect={handleConnectSshHost}
27532753 />
27542754 ))}
27552755 {hasLoadedDiscoveredSshHosts &&

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t