mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 04:30:17 +09:00
this is ti
This commit is contained in:
parent
9cd3358e4e
commit
9d728ec3c5
@ -96,6 +96,9 @@ export const useSyncStore = createPersistStore(
|
||||
const config = get()[provider];
|
||||
const client = this.getClient();
|
||||
|
||||
console.log("client set", localState);
|
||||
await client.set(config.username, JSON.stringify(localState));
|
||||
|
||||
try {
|
||||
const remoteState = await client.get(config.username);
|
||||
if (!remoteState || remoteState === "") {
|
||||
|
Loading…
Reference in New Issue
Block a user