Merge remote-tracking branch 'upstream/main' into dev

This commit is contained in:
sijinhui
2024-04-13 00:09:48 +08:00
3 changed files with 23 additions and 11 deletions

View File

@@ -104,6 +104,7 @@ export const useSyncStore = createPersistStore(
setLocalAppState(localState);
} catch (e) {
console.log("[Sync] failed to get remote state", e);
throw e;
}
await client.set(config.username, JSON.stringify(localState));