(notification: Notification)
| 141 | }; |
| 142 | |
| 143 | const handleNotificationClick = (notification: Notification) => { |
| 144 | if (!notification.read) { |
| 145 | markAsRead(notification.id); |
| 146 | } |
| 147 | if (notification.link) { |
| 148 | window.location.href = notification.link; |
| 149 | } |
| 150 | }; |
| 151 | |
| 152 | return ( |
| 153 | <div style={{ position: "relative" }} ref={dropdownRef}> |
no test coverage detected