Skip to content

Commit

Permalink
Removed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rooben-me authored May 3, 2024
1 parent 1da7d81 commit 8ef2617
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/store/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const useSyncStore = createPersistStore(
const provider = get().provider;
const config = get()[provider];
const client = this.getClient();

try {
const remoteState = await client.get(config.username);
if (!remoteState || remoteState === "") {
Expand All @@ -113,11 +113,11 @@ export const useSyncStore = createPersistStore(
console.log("[Sync] failed to get remote state", e);
throw e;
}

await client.set(config.username, JSON.stringify(localState));

this.markSyncTime();
},
},

async check() {
const client = this.getClient();
Expand Down

0 comments on commit 8ef2617

Please sign in to comment.