Skip to content

Commit

Permalink
docs: add missing imports to app router (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
errmakov authored Nov 24, 2024
1 parent 997c153 commit 7b9b948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default function InitializedMDXEditor({
// ForwardRefEditor.tsx
import dynamic from 'next/dynamic'
import { forwardRef } from "react"
import { type MDXEditorMethods, type MDXEditorProps} from '@mdxeditor/editor'

// This is the only place InitializedMDXEditor is imported directly.
const Editor = dynamic(() => import('./InitializedMDXEditor'), {
Expand Down

0 comments on commit 7b9b948

Please sign in to comment.