Skip to content

Commit

Permalink
Check for collection logo image
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgahan-arikan committed Dec 16, 2024
1 parent 7256887 commit 7dbee58
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/wallet/src/views/CollectibleDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,17 @@ export const CollectibleDetails = ({ contractAddress, chainId, tokenId }: Collec
>
<Box gap="3" alignItems="center" justifyContent="center" flexDirection="column">
<Box flexDirection="row" gap="2" justifyContent="center" alignItems="center">
<Image
borderRadius="circle"
width="8"
src={collectionLogo}
alt="collection logo"
style={{
objectFit: 'cover'
}}
/>
{collectionLogo && (
<Image
borderRadius="circle"
width="8"
src={collectionLogo}
alt="collection logo"
style={{
objectFit: 'cover'
}}
/>
)}
<Box gap="1" flexDirection="row" justifyContent="center" alignItems="center">
<Text variant="small" fontWeight="bold" color="text100">
{collectionName}
Expand Down

0 comments on commit 7dbee58

Please sign in to comment.