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
2749 key={`${target.alias}:${target.hostname}:${target.port ?? ""}`}2749 key={`${target.alias}:${target.hostname}:${target.port ?? ""}`}
2750 target={target}2750 target={target}
2751 connectingHostAlias={connectingSshHostAlias}2751 connectingHostAlias={connectingSshHostAlias}
2752 onConnect={(nextTarget) => void handleConnectSshHost(nextTarget)}2752 onConnect={handleConnectSshHost}
2753 />2753 />
2754 ))}2754 ))}
2755 {hasLoadedDiscoveredSshHosts &&2755 {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