mirror of
https://github.com/cline/cline.git
synced 2026-09-01 15:11:04 +08:00
Fix MCP empty list state
This commit is contained in:
@@ -171,14 +171,11 @@ const McpView = ({ onDone }: McpViewProps) => {
|
||||
flexDirection: "column",
|
||||
alignItems: "center",
|
||||
gap: "12px",
|
||||
marginTop: "20px",
|
||||
marginTop: 20,
|
||||
marginBottom: 20,
|
||||
color: "var(--vscode-descriptionForeground)",
|
||||
}}>
|
||||
<div>No MCP servers installed yet</div>
|
||||
<VSCodeButton appearance="primary" onClick={() => setActiveTab("marketplace")}>
|
||||
<span className="codicon codicon-cloud-download" style={{ marginRight: "6px" }} />
|
||||
Browse Marketplace
|
||||
</VSCodeButton>
|
||||
No MCP servers installed
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user