Skip to content

Commit

Permalink
Update packages/lexical/src/LexicalNode.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bob Ippolito <bob@redivi.com>
  • Loading branch information
GermanJablo and etrepum authored Dec 11, 2024
1 parent 3da33aa commit 110e591
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/lexical/src/LexicalNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,7 @@ export class LexicalNode {
this.__parent = prevNode.__parent;
this.__next = prevNode.__next;
this.__prev = prevNode.__prev;
if (prevNode.__classes) {
this.__classes = {...prevNode.__classes};
}
this.__classes = prevNode.__classes;
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down

0 comments on commit 110e591

Please sign in to comment.