feat: show 1155s in collection filter (#5498)
* show 1155s in collection filter * continue to hide shared contract collections Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
This commit is contained in:
parent
35d66f1e09
commit
aa3225c21c
@ -14,10 +14,7 @@ export const OSCollectionsFetcher = async ({ params }: any): Promise<WalletColle
|
||||
const walletCollections = await r.json()
|
||||
if (walletCollections) {
|
||||
return walletCollections
|
||||
.filter(
|
||||
(collection: any) =>
|
||||
collection.primary_asset_contracts.length && collection.primary_asset_contracts[0].schema_name === 'ERC721'
|
||||
)
|
||||
.filter((collection: any) => collection.primary_asset_contracts.length)
|
||||
.map((collection: any) => ({
|
||||
address: collection.primary_asset_contracts[0].address,
|
||||
name: collection.name,
|
||||
|
Loading…
Reference in New Issue
Block a user