nicolium: this one's not actually used

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-23 16:43:13 +01:00
parent a6208f194f
commit 869556d82d

View File

@ -248,15 +248,6 @@ const getDescendantsIds = (statusId: string, contextReplies: Record<string, stri
return [...new Set(descendantsIds)];
};
const useAncestorsIds = (statusId?: string) => {
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,