diff options
author | Tom Schmidt <imtomhschmidt@gmail.com> | 2018-03-09 09:08:43 +0800 |
---|---|---|
committer | Tom Schmidt <imtomhschmidt@gmail.com> | 2018-03-09 09:08:43 +0800 |
commit | c78e504bfba369adf2716964f787f9655fc9ea07 (patch) | |
tree | 53bf3f6f832726af310452dbe72ab67820c2d4b8 /packages/website/ts/utils/utils.ts | |
parent | c009e9979e8590701d10fbe5f623c6e618e86fc6 (diff) | |
download | dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.tar dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.tar.gz dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.tar.bz2 dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.tar.lz dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.tar.xz dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.tar.zst dexon-0x-contracts-c78e504bfba369adf2716964f787f9655fc9ea07.zip |
Fixed lint
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index bed818351..b6a02f253 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -1,4 +1,4 @@ -import { ECSignature, ExchangeContractErrs, ZeroEx, ZeroExError, Web3Provider } from '0x.js'; +import { ECSignature, ExchangeContractErrs, Web3Provider, ZeroEx, ZeroExError } from '0x.js'; import { BigNumber } from '@0xproject/utils'; import deepEqual = require('deep-equal'); import isMobile = require('is-mobile'); @@ -313,9 +313,9 @@ export const utils = { let parsedProviderName = provider.constructor.name; if (provider.constructor.name === 'MetamaskInpageProvider') { parsedProviderName = 'METAMASK'; - } else if (provider.constructor.name === 'EthereumProvider') { + } else if (provider.constructor.name === 'EthereumProvider') { parsedProviderName = 'MIST'; - } else if (provider.constructor.name === 'o') { + } else if (provider.constructor.name === 'o') { parsedProviderName = 'PARITY'; } return parsedProviderName; @@ -327,5 +327,5 @@ export const utils = { return new Promise<void>((resolve, reject) => { window.onload = () => resolve(); }); - } + }, }; |