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/index.tsx | |
parent | c009e9979e8590701d10fbe5f623c6e618e86fc6 (diff) | |
download | dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.tar dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.tar.gz dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.tar.bz2 dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.tar.lz dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.tar.xz dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.tar.zst dexon-sol-tools-c78e504bfba369adf2716964f787f9655fc9ea07.zip |
Fixed lint
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r-- | packages/website/ts/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index f3ec00e35..1eaf6274b 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -49,7 +49,9 @@ const LazyConnectDocumentation = createLazyComponent('Documentation', async () = ReactGA.initialize('UA-98720122-1'); window.onload = () => { - const providerName = (window as any).web3 ? utils.web3ProviderToString((window as any).web3.currentProvider) : 'NONE'; + const providerName = (window as any).web3 + ? utils.web3ProviderToString((window as any).web3.currentProvider) + : 'NONE'; ReactGA.ga('set', 'dimension1', providerName); }; const store: ReduxStore<State> = createStore(reducer); |