Skip to content

Commit

Permalink
Merge pull request #13 from tecchu11/fix/error-contentlayer-next-imag…
Browse files Browse the repository at this point in the history
…e-issue

fix
  • Loading branch information
tecchu11 authored Oct 1, 2023
2 parents cef9e09 + f7336fe commit a2fac7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/mdx-components.tsx
Original file line number Diff line number Diff line change
@@ -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) => <NextImage {...props} />,
}

interface MdxProps {
Expand Down

0 comments on commit a2fac7e

Please sign in to comment.