-
+
+ {notifications.some(n => !n.isRead) && (
+
+ )}
+
-
Coming Soon
-
- Notifications are not available yet. Work in progress!!
-
+ {notifications.length === 0 ? (
+
+
+
+
+
No notifications yet
+
+ ) : (
+ notifications.map((n) => (
+
+
+
+
+
+
+
+
+ {n.title}
+
+
+ {timeAgo(n.createdAt)}
+
+
+
+ {n.message}
+
+
+
+
+ {/* Actions */}
+
+ {!n.isRead && (
+
+ )}
+
+
+
+ ))
+ )}
+