Skip to content

Commit

Permalink
Fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bfullam committed Apr 21, 2024
1 parent af7fa0a commit 48dbcd0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ export const BundlCard = ({ tokenId }: BundlCardProps) => {
// Render Jazzicon directly where needed
const renderTokenImage = (token: any) => {
if (!token || !token.symbol) return null;
const imagePath = `/cryptocurrency-icons/32/color/${token.symbol.toLowerCase()}.png`;
const imagePath = `/cryptocurrency-icons/128/color/${token.symbol.toLowerCase()}.png`;

try {
require(imagePath);
console.log("path: ", imagePath);
return <Image src={imagePath} width={50} height={50} alt={token.symbol} />;
} catch (error) {
Expand Down

0 comments on commit 48dbcd0

Please sign in to comment.