Skip to content

Commit

Permalink
correct img
Browse files Browse the repository at this point in the history
  • Loading branch information
KamyarTaher committed Nov 7, 2024
1 parent dff531d commit d1a6af7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ const NFTCard: React.FC<{
<>
<Image
className="w-full h-48 object-cover shadow-lg"
src={nft?.image || ""}
src={nft?.image ?? ""}
alt={nft?.name ?? "NFT"}
width={150}
height={192}
/>
<div className="flex justify-between items-center bg-gray-800 bg-opacity-50 p-2">
<span className="text-white">{nft?.name}</span>
Expand Down

0 comments on commit d1a6af7

Please sign in to comment.