Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos):prefetch-slideshow-sources-independently

Aswin Asok29b2d98f3d9a
diff --git a/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx b/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx
index d772c9e999..cdab1be50b 100644
--- a/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx
+++ b/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx
@@ -135,7 +135,9 @@ export function AlbumSlideshow({ files, title, onClose }: AlbumSlideshowProps) {
)) {
void downloadManager
.renderableThumbnailURL(file)
- .then(() => downloadManager.renderableSourceURLs(file))
+ .catch(() => undefined);
+ void downloadManager
+ .renderableSourceURLs(file)
.catch(() => undefined);
}
}, [orderedFiles, slide.index]);