From 213240349d2cbad869afea09b251049996983bc2 Mon Sep 17 00:00:00 2001 From: Nidhi Kumari Date: Mon, 23 Jan 2023 22:38:35 +0530 Subject: [PATCH] Updated Icons in Title of NFTs (#17205) * icon update for nft * updated icon for previously owned icon * removed isPreviouslyOwned condition --- .../collectibles-items/collectibles-items.js | 18 ++++-------------- ui/hooks/useCollectiblesCollections.js | 3 +-- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/ui/components/app/collectibles-items/collectibles-items.js b/ui/components/app/collectibles-items/collectibles-items.js index f28006ae0..a4e10b40d 100644 --- a/ui/components/app/collectibles-items/collectibles-items.js +++ b/ui/components/app/collectibles-items/collectibles-items.js @@ -86,14 +86,7 @@ export default function CollectiblesItems({ const ipfsGateway = useSelector(getIpfsGateway); const history = useHistory(); - const renderCollectionImage = ( - isPreviouslyOwnedCollection, - collectionImage, - collectionName, - ) => { - if (isPreviouslyOwnedCollection) { - return null; - } + const renderCollectionImage = (collectionImage, collectionName) => { if (collectionImage) { return ( { if (!collectibles.length) { return null; @@ -156,11 +148,7 @@ export default function CollectiblesItems({ alignItems={ALIGN_ITEMS.CENTER} className="collectibles-items__collection-header" > - {renderCollectionImage( - isPreviouslyOwnedCollection, - collectionImage, - collectionName, - )} + {renderCollectionImage(collectionImage, collectionName)}