Shun Miyazawa hace 1 año
padre
commit
40ef622b63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {