Skip to content

Commit

Permalink
fix(product-components): missing network icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Feb 4, 2025
1 parent 2ec93d9 commit c5b3ff9
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/product-components/src/components/CoinLogo/networks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { NetworkSymbol } from '@suite-common/wallet-config';

export const NETWORK_ICONS: Record<NetworkSymbol, string> = {
import { LegacyNetworkSymbol } from './coins';

export const NETWORK_ICONS: Record<NetworkSymbol | LegacyNetworkSymbol, string> = {
ada: require('../../images/networks/ada.svg'),
arb: require('../../images/networks/arb.svg'),
base: require('../../images/networks/base.svg'),
Expand All @@ -23,4 +25,13 @@ export const NETWORK_ICONS: Record<NetworkSymbol, string> = {
txrp: require('../../images/networks/txrp.svg'),
xrp: require('../../images/networks/xrp.svg'),
zec: require('../../images/networks/zec.svg'),
eos: require('../../images/networks/eos.svg'),
nem: require('../../images/networks/nem.svg'),
xlm: require('../../images/networks/xlm.svg'),
xtz: require('../../images/networks/xtz.svg'),
dash: require('../../images/networks/dash.svg'),
dgb: require('../../images/networks/dgb.svg'),
nmc: require('../../images/networks/nmc.svg'),
vtc: require('../../images/networks/vtc.svg'),
btg: require('../../images/networks/btg.svg'),
};
5 changes: 5 additions & 0 deletions packages/product-components/src/images/networks/btg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/dash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/dgb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/eos.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packages/product-components/src/images/networks/nem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/nmc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/vtc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/xlm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/product-components/src/images/networks/xtz.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c5b3ff9

Please sign in to comment.