Fix cloud data sync issue with Upstash (#4563)

This commit is contained in:
ruban 2024-05-02 23:22:32 -07:00 committed by GitHub
parent a103582346
commit 1da7d81122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -115,6 +115,7 @@ export const useSyncStore = createPersistStore(
} }
await client.set(config.username, JSON.stringify(localState)); await client.set(config.username, JSON.stringify(localState));
this.markSyncTime(); this.markSyncTime();
}, },
@ -146,4 +147,4 @@ export const useSyncStore = createPersistStore(
return newState as any; return newState as any;
}, },
}, },
); );