From d7cd63a2466dd5a042164b18d8d7f8ef30db6f0a Mon Sep 17 00:00:00 2001 From: wnhlee <2wheeh@gmail.com> Date: Tue, 23 Apr 2024 13:52:54 +0900 Subject: [PATCH] r --- packages/lexical/src/LexicalMutations.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/lexical/src/LexicalMutations.ts b/packages/lexical/src/LexicalMutations.ts index 09f328e70ea..1dc50bc0c0e 100644 --- a/packages/lexical/src/LexicalMutations.ts +++ b/packages/lexical/src/LexicalMutations.ts @@ -240,7 +240,6 @@ export function $flushMutations( continue; } - // TODO: undefined or null ? if (currentDOM === null || currentDOM === undefined) { targetDOM.appendChild(correctDOM); currentDOM = correctDOM;