Ver Fonte

change arg

Shun Miyazawa há 1 ano atrás
pai
commit
40ef622b63
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {