Shun Miyazawa 1 год назад
Родитель
Сommit
40ef622b63
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/editor/src/client/stores/codemirror-editor.ts

+ 1 - 1
packages/editor/src/client/stores/codemirror-editor.ts

@@ -32,7 +32,7 @@ export const useCodeMirrorEditorIsolated = (
 
   const shouldUpdate = swrKey != null && container != null && (
     currentData == null
-    || (isValid(newData) && !isDeepEquals(currentData, newData, true))
+    || (isValid(newData) && !isDeepEquals(currentData, newData, false))
   );
 
   if (shouldUpdate) {