refactor(store): clean up
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user