refactor(store): clean up

This commit is contained in:
moklick
2021-01-28 12:33:34 +01:00
parent 252552a694
commit 4d382eed57
7 changed files with 450 additions and 499 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
import { applyMiddleware, compose, createStore, Store } from 'redux';
import thunkMiddleware from 'redux-thunk';
import { ReactFlowState, reactFlowReducer } from './index';
import { ReactFlowState } from '../types';
import reactFlowReducer from './reducer';
export default function configureStore(preloadedState: ReactFlowState): Store<ReactFlowState> {
const composedEnhancers = compose(applyMiddleware(thunkMiddleware));