From 640c45588cab767a05954442296c94432930ccb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 27 Oct 2024 14:44:09 +0100 Subject: [PATCH] pl-fe: Fix thread selector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/features/status/components/thread.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-fe/src/features/status/components/thread.tsx b/packages/pl-fe/src/features/status/components/thread.tsx index cba00e47a..034e0c71b 100644 --- a/packages/pl-fe/src/features/status/components/thread.tsx +++ b/packages/pl-fe/src/features/status/components/thread.tsx @@ -82,7 +82,7 @@ const makeGetThread = () => { const getDescendantsIds = makeGetDescendantsIds(); return createSelector([ - (state: RootState, statusId: string) => getAncestorsIds(state, state.contexts.inReplyTos.get(statusId)), + (state: RootState, statusId: string) => getAncestorsIds(state, statusId), (state: RootState, statusId: string) => getDescendantsIds(state, statusId), (_, statusId: string) => statusId, ],