import { combineReducers } from 'redux';

import charts from './charts/charts.reducer';
import search from './search/search.reducer';
import player from './player/player.reducer';
import user from './user/user.reducer';
import favorites from './favorites/favorites.reducer';
import { routerReducer as router } from 'react-router-redux';

const rootReducer = combineReducers({
    charts,
    search,
    player,
    user,
    favorites,
    router
});

export default rootReducer;
