import { createStore, applyMiddleware, compose } from 'redux';
import { browserHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
import thunkMiddleware from 'redux-thunk';
import rootReducer from '../reducers';

const initialState = {
  matches: {
    data: []
  }
};

const middleware = applyMiddleware(thunkMiddleware);
const enhancers = compose(
  middleware,
  window.devToolsExtension ? window.devToolsExtension() : (f) => f
);

const store = createStore(rootReducer, initialState, enhancers);
export const history = syncHistoryWithStore(browserHistory, store);
export default store;

@@ -295,10 +295,10 @@
 ta: 
-%5B%5D
+%7B%7D
 %0A  %7D

MatchList expects an object not array