Merge branch 'main' into set-header

This commit is contained in:
Ido Salomon 2025-04-12 03:37:18 +03:00 • committed by GitHub
commit 80854d9183
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -447,7 +447,13 @@ const Sidebar = ({
<div className="space-y-2">
{connectionStatus === "connected" && (
<div className="grid grid-cols-2 gap-4">
<Button data-testid="connect-button" onClick={onConnect}>
<Button
data-testid="connect-button"
onClick={() => {
onDisconnect();
onConnect();
}}
>
<RotateCcw className="w-4 h-4 mr-2" />
{transportType === "stdio" ? "Restart" : "Reconnect"}
</Button>