From a38e0530e6654da57dabbe4b381dab8239b6c4c5 Mon Sep 17 00:00:00 2001 From: Adam Josefus <1031370+adamjosefus@users.noreply.github.com> Date: Fri, 16 Aug 2024 19:05:30 +0200 Subject: [PATCH] fix: Add missing import in code example --- docs/src/content/pages/fields/mdx.mdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/content/pages/fields/mdx.mdoc b/docs/src/content/pages/fields/mdx.mdoc index 4e0bfc85e..d77d8f74e 100644 --- a/docs/src/content/pages/fields/mdx.mdoc +++ b/docs/src/content/pages/fields/mdx.mdoc @@ -79,6 +79,7 @@ import { Card } from '../components/Card' Remove the import from the MDX file. Instead, pass the components you want to import to the component responsible for rendering the MDX content: ```tsx +import { MDXRemote } from 'next-mdx-remote/rsc'; import { Card } from '../components/Card'