fix shortcut bug

This commit is contained in:
Gabe Yuan
2023-09-22 11:21:38 +08:00
parent 471a4a3159
commit 5306d81284

View File

@@ -23,7 +23,7 @@ export function useSyncMeta() {
syncMeta[key] = { ...(syncMeta[key] || {}), updateAt: Date.now() }; syncMeta[key] = { ...(syncMeta[key] || {}), updateAt: Date.now() };
await updateSync({ syncMeta }); await updateSync({ syncMeta });
}, },
[sync, updateSync] [sync?.syncMeta, updateSync]
); );
return { updateSyncMeta }; return { updateSyncMeta };
} }