aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 02:08:56 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 05:44:40 +0800
commitd46b28873385a8d6521d36f2a529451e1f725b26 (patch)
treeb17610243d7299f3330a4198a75ff00d2a1b49ec /packages/instant/src
parentdfc5d7d860c2edb93fe45653f755fe8ff530bf1d (diff)
downloaddexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.tar
dexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.tar.gz
dexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.tar.bz2
dexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.tar.lz
dexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.tar.xz
dexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.tar.zst
dexon-sol-tools-d46b28873385a8d6521d36f2a529451e1f725b26.zip
use redux dev tools from package
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/redux/store.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/redux/store.ts b/packages/instant/src/redux/store.ts
index 8d9fe34cb..b9ce9c0c1 100644
--- a/packages/instant/src/redux/store.ts
+++ b/packages/instant/src/redux/store.ts
@@ -1,7 +1,7 @@
import * as _ from 'lodash';
import { createStore, Store as ReduxStore } from 'redux';
+import { devToolsEnhancer } from 'redux-devtools-extension/developmentOnly';
import { reducer, State } from './reducer';
-const reduxDevTools = (window as any).__REDUX_DEVTOOLS_EXTENSION__;
-export const store: ReduxStore<State> = createStore(reducer, reduxDevTools && reduxDevTools());
+export const store: ReduxStore<State> = createStore(reducer, devToolsEnhancer({}));