From 11a5e8a013d6212e5cebbbda7d20e9eda9e2083a Mon Sep 17 00:00:00 2001
From: Tyler <26290074+tylersayshi@users.noreply.github.com>
Date: Sat, 13 Sep 2025 21:47:35 -0700
Subject: [PATCH] empty state
---
swipic/components/photo-swiper.tsx | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/swipic/components/photo-swiper.tsx b/swipic/components/photo-swiper.tsx
index 222d1d3..969e6b4 100644
--- a/swipic/components/photo-swiper.tsx
+++ b/swipic/components/photo-swiper.tsx
@@ -337,6 +337,19 @@ export default function PhotoSwiper() {
);
}
+ if (photos.length === 0 && permissionStatus === "granted") {
+ return (
+
+
+ No Photos Found
+
+ Your photo library appears to be empty.
+
+
+
+ );
+ }
+
if (photos.length === 0) {
return (
--
2.51.2