diff --git a/source/Popup/Views/NFTDetails/index.jsx b/source/Popup/Views/NFTDetails/index.jsx index 2d6ae6f1..684b08c2 100644 --- a/source/Popup/Views/NFTDetails/index.jsx +++ b/source/Popup/Views/NFTDetails/index.jsx @@ -13,7 +13,7 @@ import AttributesImg from '@assets/icons/nfts/attributes.png'; import AboutImg from '@assets/icons/nfts/about.png'; import { Typography } from '@material-ui/core'; import { setSelectedNft } from '@redux/nfts'; -import { entrepotUrl } from '@shared/constants/urls'; +import { Maximize2 } from 'react-feather'; import extension from 'extensionizer'; import Section from './components/section'; @@ -36,7 +36,8 @@ const NFTDetails = () => { navigator.navigate('home', TABS.NFTS); }; - const openMarketplace = (url) => () => extension.tabs.create({ url: url || entrepotUrl }); + const openNFT = (url) => () => extension.tabs.create({ url }); + const collection = useMemo(() => collections?.find( (col) => col.name === nft?.collection, ), @@ -47,7 +48,7 @@ const NFTDetails = () => {
} - center={nft?.name || `${collection?.name ?? ''} #${nft.index}`} + center={`#${nft.index}`} right={null} />
@@ -55,10 +56,15 @@ const NFTDetails = () => {