diff --git a/ui/component/claimList/view.jsx b/ui/component/claimList/view.jsx index c7624d13e..8e3ada373 100644 --- a/ui/component/claimList/view.jsx +++ b/ui/component/claimList/view.jsx @@ -32,6 +32,7 @@ type Props = { showUnresolvedClaims?: boolean, renderProperties: ?(Claim) => Node, includeSupportAction?: boolean, + hideBlock: boolean, }; export default function ClaimList(props: Props) { @@ -53,6 +54,7 @@ export default function ClaimList(props: Props) { showUnresolvedClaims, renderProperties, includeSupportAction, + hideBlock, } = props; const [scrollBottomCbMap, setScrollBottomCbMap] = useState({}); const [currentSort, setCurrentSort] = usePersistedState(persistedStorageKey, SORT_NEW); @@ -140,6 +142,7 @@ export default function ClaimList(props: Props) { showUnresolvedClaim={showUnresolvedClaims} properties={renderProperties || (type !== 'small' ? undefined : false)} showUserBlocked={showHiddenByUser} + hideBlock={hideBlock} customShouldHide={(claim: StreamClaim) => { // Hack to hide spee.ch thumbnail publishes // If it meets these requirements, it was probably uploaded here: diff --git a/ui/component/claimListDiscover/view.jsx b/ui/component/claimListDiscover/view.jsx index 4df8edbe0..c36968537 100644 --- a/ui/component/claimListDiscover/view.jsx +++ b/ui/component/claimListDiscover/view.jsx @@ -55,6 +55,7 @@ type Props = { renderProperties?: Claim => Node, includeSupportAction?: boolean, noInfiniteScroll: boolean, + hideBlock: boolean, }; function ClaimListDiscover(props: Props) { @@ -82,6 +83,7 @@ function ClaimListDiscover(props: Props) { renderProperties, includeSupportAction, noInfiniteScroll, + hideBlock, } = props; const didNavigateForward = history.action === 'PUSH'; const [page, setPage] = useState(1); @@ -296,6 +298,7 @@ function ClaimListDiscover(props: Props) { empty={noResults} renderProperties={renderProperties} includeSupportAction={includeSupportAction} + hideBlock={hideBlock} />