From 6fd94fc1f69f89e07a107644851147cd1b708835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 2 Nov 2025 11:39:49 +0100 Subject: [PATCH] pl-fe: show notifications page column title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/components/sidebar-navigation-link.tsx | 2 +- packages/pl-fe/src/components/ui/popover.tsx | 2 +- packages/pl-fe/src/pages/notifications/notifications.tsx | 8 +------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/pl-fe/src/components/sidebar-navigation-link.tsx b/packages/pl-fe/src/components/sidebar-navigation-link.tsx index 634990210..3de63df4a 100644 --- a/packages/pl-fe/src/components/sidebar-navigation-link.tsx +++ b/packages/pl-fe/src/components/sidebar-navigation-link.tsx @@ -62,6 +62,6 @@ const SidebarNavigationLink = React.memo(React.forwardRef((props: ISidebarNaviga

{text}

); -}), (prevProps, nextProps) => prevProps.count === nextProps.count && prevProps.shrink === nextProps.shrink); +}), (prevProps, nextProps) => prevProps.count === nextProps.count); export { SidebarNavigationLink as default }; diff --git a/packages/pl-fe/src/components/ui/popover.tsx b/packages/pl-fe/src/components/ui/popover.tsx index 36b45588e..223c8591e 100644 --- a/packages/pl-fe/src/components/ui/popover.tsx +++ b/packages/pl-fe/src/components/ui/popover.tsx @@ -30,7 +30,7 @@ interface IPopover { /** Add a class to the reference (trigger) element */ referenceElementClassName?: string; offsetOptions?: OffsetOptions; - placements?: Placement; + placements?: Array; } /** diff --git a/packages/pl-fe/src/pages/notifications/notifications.tsx b/packages/pl-fe/src/pages/notifications/notifications.tsx index d8eb113ee..7dcbde413 100644 --- a/packages/pl-fe/src/pages/notifications/notifications.tsx +++ b/packages/pl-fe/src/pages/notifications/notifications.tsx @@ -3,22 +3,16 @@ import { defineMessages, useIntl } from 'react-intl'; import NotificationsColumn from 'pl-fe/columns/notifications'; import Column from 'pl-fe/components/ui/column'; -import { useFeatures } from 'pl-fe/hooks/use-features'; -import { useSettings } from 'pl-fe/stores/settings'; const messages = defineMessages({ title: { id: 'column.notifications', defaultMessage: 'Notifications' }, }); const NotificationsPage = () => { - const features = useFeatures(); const intl = useIntl(); - const settings = useSettings(); - - const showFilterBar = (features.notificationsExcludeTypes || features.notificationsIncludeTypes) && settings.notifications.quickFilter.show; return ( - + );