Skip to content

Commit

Permalink
🚧 wip: sync with local
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Mar 11, 2024
1 parent 4c9671e commit 4d7154b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
"use-merge-value": "^1",
"utility-types": "^3",
"uuid": "^9",
"y-indexeddb": "^9.0.12",
"y-webrtc": "^10.3.0",
"yaml": "^2",
"yjs": "^13.6.14",
"zod": "^3",
Expand Down
2 changes: 1 addition & 1 deletion src/libs/sync/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class SyncBus {
const pools = Array.from(event.keys).map(async ([id, payload]) => {
const item: any = yItemMap.get(id);

if (item._internalUpdate) {
if (item?._internalUpdate) {
return;
}

Expand Down

0 comments on commit 4d7154b

Please sign in to comment.