Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Move

Manav Rathi94ce77c07b2a
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 60ae8c915d..7b8d799930 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -52,6 +52,7 @@ import {
} from "@/new/photos/services/search";
import type { SearchOption } from "@/new/photos/services/search/types";
import { initSettings } from "@/new/photos/services/settings";
+import { preCollectionsAndFilesSync, sync } from "@/new/photos/services/sync";
import {
initUserDetailsOrTriggerSync,
redirectToCustomerPortal,
@@ -120,7 +121,6 @@ import {
createUnCategorizedCollection,
} from "services/collectionService";
import exportService from "services/export";
-import { preCollectionsAndFilesSync, sync } from "services/sync";
import uploadManager from "services/upload/uploadManager";
import { isTokenValid } from "services/userService";
import {
diff --git a/web/apps/photos/src/services/sync.ts b/web/packages/new/photos/services/sync.ts
similarity index 98%
rename from web/apps/photos/src/services/sync.ts
rename to web/packages/new/photos/services/sync.ts
index 63bb1841fc..906eaad9b5 100644
--- a/web/apps/photos/src/services/sync.ts
+++ b/web/packages/new/photos/services/sync.ts
@@ -1,3 +1,4 @@
+/* eslint-disable @typescript-eslint/no-empty-function */
import { isHiddenCollection } from "@/new/photos/services/collection";
import {
getAllLatestCollections,