diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-08 23:47:49 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-08 23:47:49 +0800 |
commit | 2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48 (patch) | |
tree | 2fdaee2607881c657d2ccf71ddc6d407ed522aca /packages/react-shared/src/ts/utils/utils.ts | |
parent | 98e8105ec5a629ce67f34216df72e11422649c4e (diff) | |
download | dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.tar dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.tar.gz dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.tar.bz2 dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.tar.lz dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.tar.xz dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.tar.zst dexon-sol-tools-2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48.zip |
Fix prettier issues
Diffstat (limited to 'packages/react-shared/src/ts/utils/utils.ts')
-rw-r--r-- | packages/react-shared/src/ts/utils/utils.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/react-shared/src/ts/utils/utils.ts b/packages/react-shared/src/ts/utils/utils.ts index 9e848392f..b3acb081e 100644 --- a/packages/react-shared/src/ts/utils/utils.ts +++ b/packages/react-shared/src/ts/utils/utils.ts @@ -30,7 +30,11 @@ export const utils = { const id = name.replace(/ /g, '-'); return id; }, - getEtherScanLinkIfExists(addressOrTxHash: string, networkId: number, suffix: EtherscanLinkSuffixes): string|undefined { + getEtherScanLinkIfExists( + addressOrTxHash: string, + networkId: number, + suffix: EtherscanLinkSuffixes, + ): string | undefined { const networkName = constants.NETWORK_NAME_BY_ID[networkId]; if (_.isUndefined(networkName)) { return undefined; |