From 407ebdffb7f1a8f07437967512c9c588f44dcbd8 Mon Sep 17 00:00:00 2001 From: isSerge Date: Mon, 3 Oct 2022 11:17:55 +0000 Subject: [PATCH] Remove useless assignment (#354) --- src/stores/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/store.ts b/src/stores/store.ts index a0f3ec01..db296e72 100644 --- a/src/stores/store.ts +++ b/src/stores/store.ts @@ -327,7 +327,7 @@ export const useStore = defineStore('store', { const syncState = await client.getSyncState(); this.setSyncState(syncState); - let isSyncing = await client.isSyncing(); + let isSyncing; do { await new Promise((resolve) => setTimeout(resolve, 3000));