From 2e51328883c5c1eb1d6f0a153cf56eac54726fc7 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sat, 24 Aug 2024 17:47:38 +0700 Subject: [PATCH] fix --- app/web/src/utils/sync/ws-client.ts | 1 - bun.lockb | Bin 284352 -> 283656 bytes package.json | 5 ++--- pkgs/web-utils/src/use-local.ts | 7 +++++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/web/src/utils/sync/ws-client.ts b/app/web/src/utils/sync/ws-client.ts index 93ba4cd7..9f3c5c9c 100644 --- a/app/web/src/utils/sync/ws-client.ts +++ b/app/web/src/utils/sync/ws-client.ts @@ -164,7 +164,6 @@ const connect = ( } else { return new Promise((resolve, reject) => { if (!conf.ws) { - let reconnect = 0; const retry = () => { const url = new URL(w.basehost || location.href); url.pathname = "/sync"; diff --git a/bun.lockb b/bun.lockb index f35e3a41eb9d5848deb39b134110005912d63b8a..defad57085b05b8151db9d95dfed90fd26d0d419 100755 GIT binary patch delta 52090 zcmeFadz?+>-~Ye&8auPevBY3HE3w&wW20zwaO4_M_LluJ`MDU+2TR*0R^` zwUuS&EHCp=Y`qTmz1Yt_zW+k+)1Q8LYHRPg1?e}eOx!uELVUF(``DGkf0^8)h)