Skip to content

Commit

Permalink
docs: fix typescript example (#146)
Browse files Browse the repository at this point in the history
wrong reference to serialize
  • Loading branch information
younes200 committed May 14, 2021
1 parent 3d1c707 commit 71c77f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Below is an example of a simple implementation in TypeScript. You may not need t

```tsx
import { GetStaticProps } from 'next'
import serialize from 'next-mdx-remote/serialize'
import { serialize } from 'next-mdx-remote/serialize'
import { MDXRemote, MDXRemoteSerializeResult } from 'next-mdx-remote'
import ExampleComponent from './example'

Expand Down

0 comments on commit 71c77f5

Please sign in to comment.