import { combineReducers } from 'redux';

import { categories } from './categories.js';
import { error } from './error.js';
import { rules } from './rules.js';
import { posts } from './posts.js';
import { selected } from './selected.js';

const rootReducer = combineReducers({ categories, error, rules, posts, selected });

export default rootReducer;
