Merge branch 'update-promos' of https://github.com/mermaid-js/mermaid-live-editor into update-promos

* 'update-promos' of https://github.com/mermaid-js/mermaid-live-editor:
  update interval
This commit is contained in:
Sidharth Vinod
2025-02-14 13:27:30 +05:30
+1 -1
View File
@@ -103,7 +103,7 @@
const interval = setInterval(() => {
index = (index + 1) % taglines.length;
currentTagline = taglines[index];
}, 2000);
}, 5000);
onDestroy(() => {
clearInterval(interval);