diff --git a/src/components/notification.jsx b/src/components/notification.jsx index 20e53045..264ce4f7 100644 --- a/src/components/notification.jsx +++ b/src/components/notification.jsx @@ -357,4 +357,6 @@ function TruncatedLink(props) { return ; } -export default memo(Notification); +export default memo(Notification, (oldProps, newProps) => { + return oldProps.notification?.id === newProps.notification?.id; +});