Merge pull request #2992 from ograycode/patch-1

This commit is contained in:
Yifei Zhang 2023-10-11 00:42:52 +08:00 committed by GitHub
commit adee435ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));