diff --git a/client/src/javascript/components/sidebar/NotificationsButton.tsx b/client/src/javascript/components/sidebar/NotificationsButton.tsx index 154d81df8..fc8deb41a 100644 --- a/client/src/javascript/components/sidebar/NotificationsButton.tsx +++ b/client/src/javascript/components/sidebar/NotificationsButton.tsx @@ -63,15 +63,14 @@ const NotificationTopToolbar: FC = ({ }; interface NotificationItemProps { - index: number; notification: Notification; } -const NotificationItem: FC = ({index, notification}: NotificationItemProps) => { +const NotificationItem: FC = ({notification}: NotificationItemProps) => { const {i18n} = useLingui(); return ( -
  • +
  • {i18n._(`${notification.id}.heading`)} {' — '} @@ -195,7 +194,7 @@ const NotificationsButton: FC = observer(() => { style={{minHeight: prevHeight}} > {notifications.map((notification, index) => ( - + ))} = ({ {icon} {name} {count} - {size && } + {size != null && }
  • );