Skip to content

Commit

Permalink
r
Browse files Browse the repository at this point in the history
  • Loading branch information
2wheeh committed Apr 23, 2024
1 parent 29c8597 commit d7cd63a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/lexical/src/LexicalMutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ export function $flushMutations(
continue;
}

// TODO: undefined or null ?
if (currentDOM === null || currentDOM === undefined) {
targetDOM.appendChild(correctDOM);
currentDOM = correctDOM;
Expand Down

0 comments on commit d7cd63a

Please sign in to comment.