diff --git a/components/mdx-components.tsx b/components/mdx-components.tsx index 9193c06..6f894c4 100644 --- a/components/mdx-components.tsx +++ b/components/mdx-components.tsx @@ -1,8 +1,8 @@ -import Image from "next/image" -import { useMDXComponent } from "next-contentlayer/hooks" +import NextImage, { ImageProps } from "next/image" +import { useMDXComponent } from 'next-contentlayer/hooks'; const components = { - Image, + Image: (props: ImageProps) => , } interface MdxProps {