We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34d53b3 commit f78a7acCopy full SHA for f78a7ac
1 file changed
client/notifications/index.tsx
@@ -53,6 +53,10 @@ export function Notifications() {
53
54
useEffect(
55
function () {
56
+ if (notifications.length === 0) {
57
+ return
58
+ }
59
+
60
const ends = notifications.map(
61
(notification) => notification.created + notification.ttl,
62
)
0 commit comments