From 2a081ec1b5c92c12be8840816df49ab68e549be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Wed, 25 Feb 2026 18:34:39 +0100 Subject: [PATCH] nicolium: add a comment 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/columns/notifications.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/pl-fe/src/columns/notifications.tsx b/packages/pl-fe/src/columns/notifications.tsx index 563d4da65..5be3e9db6 100644 --- a/packages/pl-fe/src/columns/notifications.tsx +++ b/packages/pl-fe/src/columns/notifications.tsx @@ -275,6 +275,8 @@ const NotificationsColumn: React.FC = ({ multiColumn }) => queryClient.setQueryData>(['notifications', activeFilter], (data) => { if (!data) return data; + // from https://github.com/TanStack/query/discussions/875#discussioncomment-754458 + // TODO: maybe needed in more places so maybe make a helper for this return { ...data, pages: data.pages.slice(0, 1),