diff --git a/src/renderer/components/Breadcrumb/NFTCrumb.js b/src/renderer/components/Breadcrumb/NFTCrumb.js index a793e7ddc3..1c957f3913 100644 --- a/src/renderer/components/Breadcrumb/NFTCrumb.js +++ b/src/renderer/components/Breadcrumb/NFTCrumb.js @@ -54,16 +54,15 @@ const NFTCrumb = () => { ); const activeItem = useMemo( - () => items.find((item: any) => item.nft?.contract === collectionAddress) || items[0], + () => items.find((item: any) => item.key === collectionAddress) || items[0], [collectionAddress, items], ); const onCollectionSelected = useCallback( item => { if (!item) return; - const { collection } = item; setTrackingSource("NFT breadcrumb"); - history.push({ pathname: `/account/${account.id}/nft-collection/${collection.contract}` }); + history.push({ pathname: `/account/${account.id}/nft-collection/${item.key}` }); }, [account.id, history], );