File tree Expand file tree Collapse file tree
core/http/react-ui/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export default function ClientMCPDropdown({
6868 < div className = "chat-mcp-dropdown-menu" style = { { minWidth : '280px' } } >
6969 < div className = "chat-mcp-dropdown-header" >
7070 < span > Client MCP Servers</ span >
71- < button className = "chat-mcp-select-all" onClick = { ( ) => setAddDialog ( ! addDialog ) } >
71+ < button type = "button" className = "chat-mcp-select-all" onClick = { ( ) => setAddDialog ( ! addDialog ) } >
7272 < i className = "fas fa-plus" /> Add
7373 </ button >
7474 </ div >
@@ -103,8 +103,8 @@ export default function ClientMCPDropdown({
103103 Use CORS proxy
104104 </ label >
105105 < div style = { { display : 'flex' , gap : '4px' , justifyContent : 'flex-end' } } >
106- < button className = "btn btn-sm btn-secondary" onClick = { ( ) => setAddDialog ( false ) } > Cancel</ button >
107- < button className = "btn btn-sm btn-primary" onClick = { handleAdd } disabled = { ! url . trim ( ) } > Add</ button >
106+ < button type = "button" className = "btn btn-sm btn-secondary" onClick = { ( ) => setAddDialog ( false ) } > Cancel</ button >
107+ < button type = "button" className = "btn btn-sm btn-primary" onClick = { handleAdd } disabled = { ! url . trim ( ) } > Add</ button >
108108 </ div >
109109 </ div >
110110 ) }
You can’t perform that action at this time.
0 commit comments