From 869556d82dad9841380735941640c7117d688390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 23 Feb 2026 16:43:13 +0100 Subject: [PATCH] nicolium: this one's not actually used 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/stores/contexts.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/pl-fe/src/stores/contexts.ts b/packages/pl-fe/src/stores/contexts.ts index b35301b34..7549f2fba 100644 --- a/packages/pl-fe/src/stores/contexts.ts +++ b/packages/pl-fe/src/stores/contexts.ts @@ -248,15 +248,6 @@ const getDescendantsIds = (statusId: string, contextReplies: Record { - const inReplyTos = useContextStore((state) => state.inReplyTos); - - return useMemo( - () => (statusId ? getAncestorsIds(statusId, inReplyTos).filter((id) => id !== statusId) : []), - [inReplyTos, statusId], - ); -}; - const useDescendantsIds = (statusId?: string) => { const replies = useContextStore((state) => state.replies); @@ -323,7 +314,6 @@ const useContextsActions = () => useContextStore((state) => state.actions); export { useContextStore, - useAncestorsIds, useDescendantsIds, useThread, useReplyToId,