Skip to content

Commit 47e725b

Browse files
committed
run format on js
1 parent 8a71651 commit 47e725b

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Diff for: src/client/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/client/packages/idom-client-react/src/json-patch.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ export function useJsonPatchCallback(initial) {
1111
// We CANNOT mutate the part of the document because React checks some
1212
// attributes of the model (e.g. model.attributes.style is checked for
1313
// identity).
14-
doc.current = applyNonMutativePatch(doc.current, patch, false, false, true);
14+
doc.current = applyNonMutativePatch(
15+
doc.current,
16+
patch,
17+
false,
18+
false,
19+
true
20+
);
1521
} else {
1622
// We CAN mutate the document here though because we know that nothing above
1723
// The patch `path` is changing. Thus, maintaining the identity for that section

0 commit comments

Comments
 (0)