From bda9ce6dd8b210b8c315f60749b8a13bac426ac8 Mon Sep 17 00:00:00 2001 From: Nivedin Date: Tue, 23 May 2023 21:01:57 +0530 Subject: [PATCH] fix: change name and remove watch --- .../hoppscotch-common/src/newstore/syncing.ts | 8 +- .../hoppscotch-common/src/pages/index.vue | 78 +++++++++---------- 2 files changed, 42 insertions(+), 44 deletions(-) diff --git a/packages/hoppscotch-common/src/newstore/syncing.ts b/packages/hoppscotch-common/src/newstore/syncing.ts index 16d9c2d6b..7d3f28ab3 100644 --- a/packages/hoppscotch-common/src/newstore/syncing.ts +++ b/packages/hoppscotch-common/src/newstore/syncing.ts @@ -2,8 +2,8 @@ import { distinctUntilChanged, pluck } from "rxjs" import DispatchingStore, { defineDispatchers } from "./DispatchingStore" type SyncState = { - initialSync: boolean - sync: boolean + isInitialSync: boolean + shouldSync: boolean } type CurrentSyncingState = { @@ -12,8 +12,8 @@ type CurrentSyncingState = { const initialState: CurrentSyncingState = { currentSyncingItem: { - initialSync: false, - sync: false, + isInitialSync: false, + shouldSync: false, }, } diff --git a/packages/hoppscotch-common/src/pages/index.vue b/packages/hoppscotch-common/src/pages/index.vue index f7404c9f6..00b10e47a 100644 --- a/packages/hoppscotch-common/src/pages/index.vue +++ b/packages/hoppscotch-common/src/pages/index.vue @@ -87,7 +87,7 @@