fix: Close popup when navigating to MCP settings (#12358)

This commit is contained in:
Eric Hare
2026-04-02 14:08:43 -07:00
committed by GitHub
parent e6846ea6e7
commit 103ef7dcfa

View File

@ -314,7 +314,11 @@ export default function AddMcpServerModal({
) : (
<>
Add and save MCP servers. Manage servers in{" "}
<CustomLink className="underline" to={MCP_SETTINGS_PAGE}>
<CustomLink
className="underline"
to={MCP_SETTINGS_PAGE}
onClick={() => setOpen(false)}
>
settings
</CustomLink>
.