Skip to content

Commit 480113a

Browse files
authored
docs: remove file extension from import statement in useLexicalComposerContext (#11188)
that import does not exist, it is a typo reported in [Discord](https://discord.com/channels/967097582721572934/1328768805450809415)
1 parent b1734b0 commit 480113a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rich-text/custom-features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ import {
614614
COMMAND_PRIORITY_EDITOR
615615
} from '@payloadcms/richtext-lexical/lexical'
616616

617-
import { useLexicalComposerContext } from '@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext.js'
617+
import { useLexicalComposerContext } from '@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext'
618618
import { $insertNodeToNearestRoot } from '@payloadcms/richtext-lexical/lexical/utils'
619619
import { useEffect } from 'react'
620620

0 commit comments

Comments
 (0)