aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx4
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);