Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreatercurve committed Apr 2, 2024
1 parent 2b2a4f6 commit 4685b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-website/docs/concepts/serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ export class ExtendedTextNode extends TextNode {
}

export function $createExtendedTextNode(text: string): ExtendedTextNode {
return new ExtendedTextNode(text, className);
return new ExtendedTextNode(text);
}

export function $isExtendedTextNode(node: LexicalNode | null | undefined): node is ExtendedTextNode {
Expand Down

0 comments on commit 4685b2e

Please sign in to comment.