pl-fe: hotfix

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-31 14:27:35 +01:00
parent be65b924ed
commit 3fe37c53f1

View File

@ -7,7 +7,10 @@ const recentEventsQueryOptions = makePaginatedResponseQueryOptions(
['statusLists', 'recentEvents'],
(client) => client.timelines.publicTimeline({
only_events: true,
}).then(minifyStatusList),
}).then((res) => ({
...res,
items: res.items.filter(({ event }) => event),
})).then(minifyStatusList),
)();
const useRecentEventsTimeline = () => useInfiniteQuery({