tofuness/Toshocat

View on GitHub
src/reducers/index.js

Summary

Maintainability
A
0 mins
Test Coverage
import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux';
import _ from 'lodash';

import * as listReducers from './list';
import * as searchReducers from './search';
import * as seriesReducers from './series';
import * as exploreReducers from './explore';
import * as calendarReducers from './calendar';
import * as scrobbleReducers from './scrobble';
import * as rssReducers from './rss';
import * as chartReducers from './chart';
import * as toastReducers from './toast';

// Assign, you smaht.
export default combineReducers(
  _.assign({},
    listReducers,
    searchReducers,
    seriesReducers,
    exploreReducers,
    calendarReducers,
    scrobbleReducers,
    rssReducers,
    chartReducers,
    toastReducers,
    {
      routing: routerReducer
    }
  )
);