small formatting fixes

This commit is contained in:
sara-pervana
2024-01-25 22:31:25 +01:00
parent 2000c1444a
commit fd09d73edd

View File

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