aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-31 04:01:16 +0800
committerFabio Berger <me@fabioberger.com>2018-01-31 04:01:16 +0800
commitecf86d1d1330ae99194b94cce9167f5d42228a6d (patch)
treecd3725cea6da4b6e6e18793ee2ebd605e6b1db4d /packages/website/ts/utils/utils.ts
parentadc6170f029cdcee7c3197b60e579e87af402d1e (diff)
downloaddexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar
dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.gz
dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.bz2
dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.lz
dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.xz
dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.zst
dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.zip
Uppercase Networks enum values
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r--packages/website/ts/utils/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 003ecd30a..7e69b1c5f 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -151,7 +151,7 @@ export const utils = {
if (_.isUndefined(networkName)) {
return undefined;
}
- const etherScanPrefix = networkName === Networks.mainnet ? '' : `${networkName.toLowerCase()}.`;
+ const etherScanPrefix = networkName === Networks.Mainnet ? '' : `${networkName.toLowerCase()}.`;
return `https://${etherScanPrefix}etherscan.io/${suffix}/${addressOrTxHash}`;
},
setUrlHash(anchorId: string) {