diff --git a/web/apps/photos/src/components/PhotoFrame.tsx b/web/apps/photos/src/components/PhotoFrame.tsx index 55271c0367..aafccfb7e6 100644 --- a/web/apps/photos/src/components/PhotoFrame.tsx +++ b/web/apps/photos/src/components/PhotoFrame.tsx @@ -1,13 +1,13 @@ import log from "@/base/log"; -import { EnteFile } from "@/media/file"; -import { FileType } from "@/media/file-type"; -import type { GalleryBarMode } from "@/new/photos/components/gallery/reducer"; -import { TRASH_SECTION } from "@/new/photos/services/collection"; import { downloadManager, type LivePhotoSourceURL, type SourceURLs, } from "@/gallery/services/download"; +import { EnteFile } from "@/media/file"; +import { FileType } from "@/media/file-type"; +import type { GalleryBarMode } from "@/new/photos/components/gallery/reducer"; +import { TRASH_SECTION } from "@/new/photos/services/collection"; import { PHOTOS_PAGES } from "@ente/shared/constants/pages"; import useMemoSingleThreaded from "@ente/shared/hooks/useMemoSingleThreaded"; import { styled } from "@mui/material"; diff --git a/web/packages/gallery/utils/retry-async.ts b/web/packages/gallery/utils/retry-async.ts deleted file mode 100644 index fb4bc4822d..0000000000 --- a/web/packages/gallery/utils/retry-async.ts +++ /dev/null @@ -1 +0,0 @@ -import { wait } from "@/utils/promise"; diff --git a/web/packages/utils/promise.ts b/web/packages/utils/promise.ts index 65d9a615c0..6eefcb9c3b 100644 --- a/web/packages/utils/promise.ts +++ b/web/packages/utils/promise.ts @@ -107,7 +107,6 @@ export const withTimeout = async (promise: Promise, ms: number) => { return Promise.race([promiseAndCancelTimeout(), rejectOnTimeout]); }; - /** * Retry a async operation like a HTTP request 3 (+ 1 original) times with * exponential backoff.