diff --git a/mdx-components.tsx b/mdx-components.tsx index 7275e0c..1605d05 100644 --- a/mdx-components.tsx +++ b/mdx-components.tsx @@ -9,7 +9,8 @@ import {createSlug} from './lib/createSlug' // This file is required to use MDX in `app` directory. export function useMDXComponents(components: MDXComponents): MDXComponents { return { - h2: ({children}) =>

{children}#

, + // @ts-ignore TS18049 + h2: ({children}) =>

{children}#

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

{children}

, ...components,