aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-07 01:47:01 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-07 01:51:46 +0800
commit49c7365d93b397d1d63fb7b155e5915c43988314 (patch)
treeb7faa8247f43bd65a316dd168891701d6bdad2ea /packages/website/ts/utils/utils.ts
parent16dc4e9f6606b977ea75a6bd2d444dcf060e1617 (diff)
downloaddexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.tar
dexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.tar.gz
dexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.tar.bz2
dexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.tar.lz
dexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.tar.xz
dexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.tar.zst
dexon-sol-tools-49c7365d93b397d1d63fb7b155e5915c43988314.zip
Update token registry icons and asset picker flows
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r--packages/website/ts/utils/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 623819fc9..d50e9c619 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -474,4 +474,8 @@ export const utils = {
}
return [downloadLink, isOnMobile];
},
+ getTokenIconUrl(symbol: string): string {
+ const result = `/images/token_icons/${symbol}.png`;
+ return result;
+ },
};