Merge branch 'ChatGPTNextWeb:main' into main

This commit is contained in:
Hk-Gosuto
2024-04-12 18:04:09 +08:00
committed by GitHub
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));