We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96cccc6 commit f1c54bfCopy full SHA for f1c54bf
1 file changed
src/components/mdx/mermaid.tsx
@@ -1,7 +1,7 @@
1
"use client";
2
3
-import { use, useEffect, useId, useState } from "react";
4
import { useTheme } from "next-themes";
+import { use, useEffect, useId, useState } from "react";
5
6
export function Mermaid({ chart }: { chart: string }) {
7
const [mounted, setMounted] = useState(false);
0 commit comments