aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2019-01-12 03:57:26 +0800
committerfragosti <francesco.agosti93@gmail.com>2019-01-12 03:57:26 +0800
commit500d8fc86b4f3227007556d05b33e9a8dcd27c7f (patch)
tree1d0ee0e63cea69a989312a8cc6b61eb7f48f227c
parent89c5d657a74a1ec03141192a697f4156daee15a5 (diff)
downloaddexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.tar
dexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.tar.gz
dexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.tar.bz2
dexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.tar.lz
dexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.tar.xz
dexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.tar.zst
dexon-sol-tools-500d8fc86b4f3227007556d05b33e9a8dcd27c7f.zip
hack: force redux and redux-devtools to work for build
-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 006241371..0ef345c80 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,
+ reducer as any,
stateStorage.getPersistedDefaultState(),
- composeWithDevTools(applyMiddleware(analyticsMiddleware)),
+ composeWithDevTools(applyMiddleware(analyticsMiddleware) as any) as any,
);
store.subscribe(
_.throttle(() => {