aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/docs/app/components/mermaid.tsx
diff options
context:
space:
mode:
authorNtskwK <natsukawa247@outlook.com>2026-03-26 09:38:29 +0800
committerNtskwK <natsukawa247@outlook.com>2026-03-26 09:38:29 +0800
commit8035eabb859d8adde4c972592ecf3a37253829cb (patch)
tree8f158029a007185ade001258ab19ace6820fe1a5 /packages/docs/app/components/mermaid.tsx
parent3bfc9d630b40d647010ca64e7757c63c703cca29 (diff)
downloadDropOut-8035eabb859d8adde4c972592ecf3a37253829cb.tar.gz
DropOut-8035eabb859d8adde4c972592ecf3a37253829cb.zip
chore(docs): refactor Mermaid component and clean up imports in documentation pages
Diffstat (limited to 'packages/docs/app/components/mermaid.tsx')
-rw-r--r--packages/docs/app/components/mermaid.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/docs/app/components/mermaid.tsx b/packages/docs/app/components/mermaid.tsx
index 2df47cc..85ab342 100644
--- a/packages/docs/app/components/mermaid.tsx
+++ b/packages/docs/app/components/mermaid.tsx
@@ -17,7 +17,7 @@ export function Mermaid({ chart }: { chart: string }) {
nodes: [ref.current],
});
}
- }, [chart]);
+ }, []);
return (
<div className="not-prose my-6">