|
|
@ -154,6 +154,9 @@ export function AddressPage() { |
|
|
|
const getInventory = async () => { |
|
|
|
const getInventory = async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (type === "erc721" || type === "erc1155") { |
|
|
|
if (type === "erc721" || type === "erc1155") { |
|
|
|
|
|
|
|
if(type === "erc1155") { |
|
|
|
|
|
|
|
setHoldersCount(0) |
|
|
|
|
|
|
|
} |
|
|
|
let items = type === "erc721" |
|
|
|
let items = type === "erc721" |
|
|
|
? await getTokenERC721Assets([id]) |
|
|
|
? await getTokenERC721Assets([id]) |
|
|
|
: await getTokenERC1155Assets([id]) |
|
|
|
: await getTokenERC1155Assets([id]) |
|
|
|