generated from Luis/nextjs-python-web-template
small formatting fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user