Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(mermaid): suppress error overlay rendering

Louis Beaumont078817c53a70
diff --git a/screenpipe-app-tauri/components/rewind/mermaid-diagram.tsx b/screenpipe-app-tauri/components/rewind/mermaid-diagram.tsx
index 4e4becbec..a47e75bca 100644
--- a/screenpipe-app-tauri/components/rewind/mermaid-diagram.tsx
+++ b/screenpipe-app-tauri/components/rewind/mermaid-diagram.tsx
@@ -81,6 +81,7 @@ export function MermaidDiagram({ chart, className }: MermaidDiagramProps) {
mermaid.initialize({
startOnLoad: false,
securityLevel: "loose",
+ suppressErrorRendering: true,
...theme,
});