Skip to content

Commit

Permalink
Wrong image filepath bug fix
Browse files Browse the repository at this point in the history
all image filename should be lowercased, not uppercased
  • Loading branch information
KnightChaser committed Jun 3, 2024
1 parent 934fbcf commit 572650a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/user/cryptoAssetTile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { formatCurrency } from "../../utils/formatCurrency";
function getAssetLogo(assetName) {
return `/src/assets/currency_logo/${assetName.toUpperCase()}_logo.png`;
return `/src/assets/currency_logo/${assetName.toLowerCase()}_logo.png`;
}
const assetLogo = getAssetLogo(assetName);
Expand Down

0 comments on commit 572650a

Please sign in to comment.