Added a lot of fixes #73

Merged
Ghost merged 12 commits from more-fixes into main 2024-01-26 00:25:58 +00:00
Showing only changes of commit fd09d73edd - Show all commits

View File

@@ -56,6 +56,7 @@ const SequenceDiagram = () => {
useEffect(() => { useEffect(() => {
if (!loadingEventMessages && hasData) { if (!loadingEventMessages && hasData) {
// check for the absence of this attribute to render the diagram
if (!mermaidRef.current.getAttribute("data-processed")) { if (!mermaidRef.current.getAttribute("data-processed")) {
mermaid.initialize({ mermaid.initialize({
startOnLoad: false, startOnLoad: false,