aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2019-01-12 04:53:32 +0800
committerfragosti <francesco.agosti93@gmail.com>2019-01-12 04:53:32 +0800
commit7fcdfe5de55129e81738c23c55170f1f36e41614 (patch)
treec6b1e5c794e230b233202d06eccf624d4dec7510 /packages/website
parent22b1c48c8975bc7a70229789c10b59eb79fd49b2 (diff)
downloaddexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.tar
dexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.tar.gz
dexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.tar.bz2
dexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.tar.lz
dexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.tar.xz
dexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.tar.zst
dexon-0x-contracts-7fcdfe5de55129e81738c23c55170f1f36e41614.zip
Revert "hack: force redux and redux-devtools to work for build"
This reverts commit 500d8fc86b4f3227007556d05b33e9a8dcd27c7f.
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/redux/store.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/redux/store.ts b/packages/website/ts/redux/store.ts
index 0ef345c80..006241371 100644
--- a/packages/website/ts/redux/store.ts
+++ b/packages/website/ts/redux/store.ts
@@ -8,9 +8,9 @@ import { reducer, State } from 'ts/redux/reducer';
const ONE_SECOND = 1000;
export const store: ReduxStore<State> = createStore(
- reducer as any,
+ reducer,
stateStorage.getPersistedDefaultState(),
- composeWithDevTools(applyMiddleware(analyticsMiddleware) as any) as any,
+ composeWithDevTools(applyMiddleware(analyticsMiddleware)),
);
store.subscribe(
_.throttle(() => {