From 485c218f440c8011fa48a7e3c2b2f2b0195c5db2 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sun, 11 Feb 2024 20:57:10 +0700 Subject: [PATCH] wip fix --- pkgs/core/utils/diff.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/core/utils/diff.ts b/pkgs/core/utils/diff.ts index 013fb7b5..46bb78a2 100644 --- a/pkgs/core/utils/diff.ts +++ b/pkgs/core/utils/diff.ts @@ -100,10 +100,6 @@ export class Diff { async applyPatch(_patch: Uint8Array) { const patch = packr.unpack(_patch) as PATCH_RESULT; - console.log( - patch.mode, - patch.mode === "new" ? patch.data.length : patch.diff.length - ); if (patch.mode === "new") { this.ts = patch.ts; if (patch.data) this._data = patch.data;