diff --git a/mdx-components.tsx b/mdx-components.tsx index a010efe..38d3065 100644 --- a/mdx-components.tsx +++ b/mdx-components.tsx @@ -1,3 +1,4 @@ +// @ts-nocheck import type {MDXComponents} from 'mdx/types' import {createSlug} from './lib/createSlug' import Link from 'next/link' @@ -11,8 +12,11 @@ import Link from 'next/link' export function useMDXComponents(components: MDXComponents): MDXComponents { return { h2: ({children}) => - // @ts-ignore TS18049 -

{children}#

, +

{children} + #

, // Allows customizing built-in components, e.g. to add styling. // h1: ({ children }) =>

{children}

, ...components,