diff --git a/src/graphql/data/nft/CollectionSearch.ts b/src/graphql/data/nft/CollectionSearch.ts index 06837dd415..b33a4c5a46 100644 --- a/src/graphql/data/nft/CollectionSearch.ts +++ b/src/graphql/data/nft/CollectionSearch.ts @@ -82,5 +82,9 @@ export function useCollectionSearch(queryOrAddress: string): useCollectionSearch const isName = !isAddress(queryOrAddress.toLowerCase()) const queryResult = useCollectionQuerySearch(queryOrAddress, /* skip= */ !isName) const addressResult = useCollection(queryOrAddress, /* skip= */ isName) - return isName ? queryResult : { data: [addressResult.data], loading: addressResult.loading } + return isName + ? queryResult + : blocklistedCollections.includes(queryOrAddress) + ? { data: [], loading: false } + : { data: [addressResult.data], loading: addressResult.loading } } diff --git a/src/nft/utils/collection.ts b/src/nft/utils/collection.ts index 2552294690..5e559861fc 100644 --- a/src/nft/utils/collection.ts +++ b/src/nft/utils/collection.ts @@ -27,4 +27,7 @@ export const blocklistedCollections = [ '0xd5eeac01b0d1d929d6cffaaf78020af137277293', '0x85c08fffa9510f87019efdcf986301873cbb10d6', '0x32d7e58933fceea6b73a13f8e30605d80915b616', + '0x85c08fffa9510f87019efdcf986301873cbb10d6', + '0xd5eeac01b0d1d929d6cffaaf78020af137277293', + '0x88e49f9fd4cc3d30f2f46c652f59fb52c4874f23', ]