mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 16:22:38 +03:00
fix(core): skip background syncing in the web (#4077)
This commit is contained in:
parent
a2e4ef904b
commit
97a0969583
@ -35,6 +35,9 @@ const downloadRecursive = async (
|
||||
};
|
||||
|
||||
export async function startSync() {
|
||||
if (!environment.isDesktop) {
|
||||
return;
|
||||
}
|
||||
abortController = new AbortController();
|
||||
const signal = abortController.signal;
|
||||
const workspaces = await CRUD.list();
|
||||
|
Loading…
Reference in New Issue
Block a user