diff --git a/src/pages/AddressPage/index.tsx b/src/pages/AddressPage/index.tsx index 43126c5..19665cc 100644 --- a/src/pages/AddressPage/index.tsx +++ b/src/pages/AddressPage/index.tsx @@ -166,7 +166,7 @@ export function AddressPage() { } return item; }) - .filter((item) => item.meta) + // .filter((item) => item.meta) .map((item) => { item.type = type; return item; diff --git a/src/pages/AddressPage/tabs/inventory/Inventory.tsx b/src/pages/AddressPage/tabs/inventory/Inventory.tsx index ced0932..6c6afef 100644 --- a/src/pages/AddressPage/tabs/inventory/Inventory.tsx +++ b/src/pages/AddressPage/tabs/inventory/Inventory.tsx @@ -49,7 +49,7 @@ export function Inventory(props: IInventoryProps) { const { ownerAddress = '', tokenID, meta } = item const name = meta && meta.name ? meta.name.toLowerCase() : '' - return ownerAddress.toLowerCase().includes(value) + return (ownerAddress || '').toLowerCase().includes(value) || tokenID.toLowerCase().includes(value) || name.includes(value) }) diff --git a/src/pages/AddressPage/tabs/inventory/InventoryItem.tsx b/src/pages/AddressPage/tabs/inventory/InventoryItem.tsx index 2dda588..30e4bc0 100644 --- a/src/pages/AddressPage/tabs/inventory/InventoryItem.tsx +++ b/src/pages/AddressPage/tabs/inventory/InventoryItem.tsx @@ -124,8 +124,8 @@ export function InventoryItem(props: IInventoryItemProps) { align={"center"} > - - No Image + + No Image ) : url ? ( @@ -146,8 +146,8 @@ export function InventoryItem(props: IInventoryItemProps) { align={"center"} > - - No Image + + No Image )}