Shun Miyazawa 1 tahun lalu
induk
melakukan
40ef622b63
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {