forked from XiaoMo/ChatGPT-Next-Web
Fix type in sync.ts
Simple typo fix.
This commit is contained in:
parent
f78008c1b2
commit
ea59ab5176
@ -101,7 +101,7 @@ export const useSyncStore = createPersistStore(
|
|||||||
mergeAppState(localState, remoteState);
|
mergeAppState(localState, remoteState);
|
||||||
setLocalAppState(localState);
|
setLocalAppState(localState);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("[Sync] failed to get remoate state", e);
|
console.log("[Sync] failed to get remote state", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
await client.set(config.username, JSON.stringify(localState));
|
await client.set(config.username, JSON.stringify(localState));
|
||||||
|
Loading…
Reference in New Issue
Block a user