Skip to content

Commit

Permalink
[pkg/template,#428][xs]: remove mermaid override
Browse files Browse the repository at this point in the history
  • Loading branch information
khalilcodes committed Mar 1, 2023
1 parent 588e377 commit 76dff49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"tailwindcss": "^3.1.8"
},
"overrides": {
"mermaid": "9.3.0",
"contentlayer": {
"@opentelemetry/api": "1.4.0"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/template/pages/[[...slug]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import { getAuthorsDetails } from "../lib/getAuthorsDetails";
import layouts from "../layouts";
import { siteConfig } from "../config/siteConfig";

// import type { MermaidProps } from "mdx-mermaid/lib/Mermaid";
// const Mermaid = dynamic(() => import("mdx-mermaid/lib/Mermaid").then((res) => res.Mermaid), { ssr: false })

// workaround solution to allow importing components
// that import from "next" package (e.g. next/link) in MDX pages
// more info: https://github.com/contentlayerdev/contentlayer/issues/288
Expand Down

0 comments on commit 76dff49

Please sign in to comment.