ruban 1 год назад
Родитель
Сommit
8ef2617eec
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/store/sync.ts

+ 3 - 3
app/store/sync.ts

@@ -95,7 +95,7 @@ export const useSyncStore = createPersistStore(
       const provider = get().provider;
       const provider = get().provider;
       const config = get()[provider];
       const config = get()[provider];
       const client = this.getClient();
       const client = this.getClient();
-    
+
       try {
       try {
         const remoteState = await client.get(config.username);
         const remoteState = await client.get(config.username);
         if (!remoteState || remoteState === "") {
         if (!remoteState || remoteState === "") {
@@ -113,11 +113,11 @@ export const useSyncStore = createPersistStore(
         console.log("[Sync] failed to get remote state", e);
         console.log("[Sync] failed to get remote state", e);
         throw e;
         throw e;
       }
       }
-    
+
       await client.set(config.username, JSON.stringify(localState));
       await client.set(config.username, JSON.stringify(localState));
 
 
       this.markSyncTime();
       this.markSyncTime();
-    },    
+    },
 
 
     async check() {
     async check() {
       const client = this.getClient();
       const client = this.getClient();