fix(explorer): metaplexNFTHeader for unverified collection (#23498)

Current behavior: 
When the NFT is in an unverified collection, the metaplex NFT header displays a 0.
Example : https://explorer.solana.com/address/ARA6zvFJZAydh6mdAgc7A6pMpZotCQj6eYugUMpEWKYh

Expected behavior:
The metaplex NFT header should display nothing
This commit is contained in:
SolanaMonkeyBusiness
2022-03-09 22:44:12 +01:00
committed by GitHub
parent ba54b30101
commit fb974489a5

View File

@ -50,7 +50,7 @@ export function NFTHeader({
: "No NFT name was found"}
</h2>
{getEditionPill(nftData.editionInfo)}
{isVerifiedCollection && getVerifiedCollectionPill()}
{isVerifiedCollection ? getVerifiedCollectionPill() : null}
</div>
<h4 className="header-pretitle ms-1 mt-1 no-overflow-with-ellipsis">
{metadata.data.symbol !== ""