From 5784f3aad364981eb9f309ee3c20333afb18466e Mon Sep 17 00:00:00 2001 From: khalilcodes Date: Wed, 1 Mar 2023 14:25:59 +0300 Subject: [PATCH] [pkg/template,#428][xs]: remove mermaid override --- packages/template/package.json | 1 - packages/template/pages/[[...slug]].tsx | 3 --- 2 files changed, 4 deletions(-) diff --git a/packages/template/package.json b/packages/template/package.json index 86bf6b14b..f94ef86c9 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -51,7 +51,6 @@ "tailwindcss": "^3.1.8" }, "overrides": { - "mermaid": "9.3.0", "contentlayer": { "@opentelemetry/api": "1.4.0" } diff --git a/packages/template/pages/[[...slug]].tsx b/packages/template/pages/[[...slug]].tsx index 980100a5d..91b176f58 100644 --- a/packages/template/pages/[[...slug]].tsx +++ b/packages/template/pages/[[...slug]].tsx @@ -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