Merge branch 'main' into 'feature/mermaid-integration'

This commit is contained in:
ManishMadan2882
2025-05-07 03:44:47 +05:30
49 changed files with 1500 additions and 593 deletions

View File

@@ -261,7 +261,7 @@ const MermaidRenderer: React.FC<MermaidRendererProps> = ({
mermaid
</span>
<div className="flex items-center gap-2">
<CopyButton text={String(code).replace(/\n$/, '')} />
<CopyButton textToCopy={String(code).replace(/\n$/, '')} />
{showDiagramOptions && (
<div className="relative" ref={downloadMenuRef}>