mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-15 02:26:40 -05:00
Added statusId to selectStatusFilters in hooks.ts used by onToggleHidden (#39840)
This commit is contained in:
@@ -42,7 +42,7 @@ export function useStatusHandlers({
|
||||
onClick?: () => void;
|
||||
}) {
|
||||
const matchedFilters = useAppSelector((state) =>
|
||||
selectStatusFilters(state, {}),
|
||||
selectStatusFilters(state, { contextType, statusId: status?.id }),
|
||||
);
|
||||
const [showDespiteFilter, { onToggle: onFilterToggle }] = useToggle(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user