diff options
author | Fabio Berger <me@fabioberger.com> | 2018-01-31 04:01:16 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-01-31 04:01:16 +0800 |
commit | ecf86d1d1330ae99194b94cce9167f5d42228a6d (patch) | |
tree | cd3725cea6da4b6e6e18793ee2ebd605e6b1db4d /packages/website/ts/utils/utils.ts | |
parent | adc6170f029cdcee7c3197b60e579e87af402d1e (diff) | |
download | dexon-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.ts | 2 |
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) { |