From 42171594dbc38688e3651d01faf31284374d7ba5 Mon Sep 17 00:00:00 2001 From: drodil Date: Thu, 18 Apr 2024 14:31:48 +0300 Subject: [PATCH] Update plugins/notifications/src/components/NotificationsSideBarItem/NotificationsSideBarItem.tsx Co-authored-by: Marek Libra Signed-off-by: drodil Signed-off-by: Heikki Hellgren --- .../NotificationsSideBarItem.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/plugins/notifications/src/components/NotificationsSideBarItem/NotificationsSideBarItem.tsx b/plugins/notifications/src/components/NotificationsSideBarItem/NotificationsSideBarItem.tsx index 4842a41c0c..d143344a9a 100644 --- a/plugins/notifications/src/components/NotificationsSideBarItem/NotificationsSideBarItem.tsx +++ b/plugins/notifications/src/components/NotificationsSideBarItem/NotificationsSideBarItem.tsx @@ -38,11 +38,9 @@ export const NotificationsSidebarItem = (props?: { const { webNotificationsEnabled = false, titleCounterEnabled = true, - className, icon = NotificationsIcon, text = 'Notifications', - disableHighlight, - noTrack, + ...restProps } = props ?? { webNotificationsEnabled: false, titleCounterEnabled: true }; const { loading, error, value, retry } = useNotificationsApi(api => @@ -107,13 +105,11 @@ export const NotificationsSidebarItem = (props?: { // TODO: Figure out if the count can be added to hasNotifications return ( ); };