this
This commit is contained in:
parent
9d728ec3c5
commit
6fc7c50f19
|
@ -96,9 +96,6 @@ export const useSyncStore = createPersistStore(
|
||||||
const config = get()[provider];
|
const config = get()[provider];
|
||||||
const client = this.getClient();
|
const client = this.getClient();
|
||||||
|
|
||||||
console.log("client set", localState);
|
|
||||||
await client.set(config.username, JSON.stringify(localState));
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const remoteState = await client.get(config.username);
|
const remoteState = await client.get(config.username);
|
||||||
if (!remoteState || remoteState === "") {
|
if (!remoteState || remoteState === "") {
|
||||||
|
|
Loading…
Reference in New Issue