aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-23 07:08:04 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-05-23 07:08:04 +0800
commitdfc635b45154ab32871b0e624e694e83d731c78f (patch)
tree697a04cc73d7c2ca89fe8ac3254c13e4d4e603d7 /packages/website/ts
parentc70540e7f4ead1f25d1436de3b4dcda06c3e1e68 (diff)
downloaddexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.tar
dexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.tar.gz
dexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.tar.bz2
dexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.tar.lz
dexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.tar.xz
dexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.tar.zst
dexon-sol-tools-dfc635b45154ab32871b0e624e694e83d731c78f.zip
Add redux-devtools-extension to project
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 7fc180449..f01b1bc6c 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -6,6 +6,7 @@ import { Provider } from 'react-redux';
import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom';
import * as injectTapEventPlugin from 'react-tap-event-plugin';
import { createStore, Store as ReduxStore } from 'redux';
+import { devToolsEnhancer } from 'redux-devtools-extension';
import { Redirecter } from 'ts/components/redirecter';
import { About } from 'ts/containers/about';
import { FAQ } from 'ts/containers/faq';
@@ -74,7 +75,7 @@ const LazyOrderUtilsDocumentation = createLazyComponent('Documentation', async (
analytics.init();
// tslint:disable-next-line:no-floating-promises
analytics.logProviderAsync((window as any).web3);
-const store: ReduxStore<State> = createStore(reducer);
+const store: ReduxStore<State> = createStore(reducer, devToolsEnhancer({ name: '0x Website Redux Store' }));
render(
<Router>
<div>