fix(core): skip background syncing in the web (#4077)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-08-31 12:59:34 -05:00
1 parent a2e4ef904b
commit 97a0969583
1 file changed
+3
+3
View File
@@ -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();