Skip to content

armgit / ente

Public Imported from GitHub
0

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

tsc

Manav Rathi4dd7d3b08714
diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsx
index bed54c5dc3..ea13b337a8 100644
--- a/web/apps/cast/src/pages/slideshow.tsx
+++ b/web/apps/cast/src/pages/slideshow.tsx
@@ -26,10 +26,10 @@ export default function Slideshow() {
const urlGenerator = imageURLGenerator(ensure(readCastData()));
while (!stop) {
const { value: url, done } = await urlGenerator.next();
- if (done) {
+ if (done || !url) {
// No items in this callection can be shown.
setIsEmpty(true);
- // Go back to pairing screen after 3 seconds.
+ // Go back to pairing screen after 5 seconds.
setTimeout(pair, 5000);
return;
}