- {missedMsgs?.map((m, index) => (
-
setShowNotification(false)}
- >
- You have{' '}
-
0 ? (
+ missedMsgs?.map((m, index) => (
+ setShowNotification(false)}
>
- {m.unread_count}
- {' '}
- new messages in space{' '}
-
- {m.spaceName}
-
-
- ))}
+ You have{' '}
+
+ {m.unread_count}
+ {' '}
+ new messages in space{' '}
+
+ {m.spaceName}
+
+
+ ))
+ ) : (
+
No new messages
+ )}