feat/ui:set product mcp service name

This commit is contained in:
riverLethe committed 2025-07-25 23:59:01 +08:00
1 parent 4d26a793a3
commit c4f56df03b
1 file changed
+2 -2
@@ -51,8 +51,8 @@ export const ProductDetailThemeSelector: React.FC<
return name || "mcp-service";
}
useEffect(() => {
setMcpName(sanitizeMCPServerName(platformConfig.name));
}, [platformConfig.name]);
setMcpName(sanitizeMCPServerName(product.name));
}, [product.name]);
//Render the About page based on the current theme