GeoNode/geonode-viewer

View on GitHub
src/configureStore.js

Summary

Maintainability
A
0 mins
Test Coverage
import {createStore, applyMiddleware} from 'redux';
import thunkMiddleware from 'redux-thunk';
import rootReducer from './state';

export default function configureStore(preloadedState) {
  return createStore(
    rootReducer,
    preloadedState,
    applyMiddleware(
      thunkMiddleware
    )
  );
}