<filename>src/reducers/index.js
import { combineReducers } from 'redux';

import getCategories from './GetCategories';
import registrationReducer from './registrationReducer';
import loginReducer from './loginReducer';
import socialauthReducer from './SocialAuth/SocialAuthReducers'
import getAllCategories from './GetAllCategories';
import TagReducer from './GetTags';
import { articleReducer, userArticleReducer, publishedArticles,
  singleUserArticle , allUserArticles, postArticle, paginateArticles, firstArticles
} from './ArticleReducer';
import { bookmarks, unbookmark, bookmark } from './BookmarkReducer';
import CreateArticleReducer from './CreateArticle';
import commentReducer from './commentReducer';
import dislikeReducer from './LikeDislikeReducers';

import retrieveProfile from './profile/retrieveProfileReducer'
import ratingReducer from './ratingReducer';
import reportingReducer from './reportingReducer';
import followReducer from '../reducers/profile/followuserReducer'
// import ratingReducer from './ratingReducer';


export default combineReducers({
  categories: getCategories,
  articles: articleReducer,
  registrationReducer,
  login: loginReducer,
  socialauthReducer,
  allCategories: getAllCategories,
  tags: TagReducer,
  newArticle: CreateArticleReducer,
  userArticles: userArticleReducer,
  editArticle: singleUserArticle,
  allArticles: allUserArticles,
  recentArticlePost: postArticle,
  publishedArticles: publishedArticles,
  comments: commentReducer,
  dislikeReducer,
  retrieveProfile,
  ratingReducer,
  reportingReducer,
  paginateArticles,
  firstArticles,
  bookmarks,
  unbookmark,
  bookmark,
  followReducer,
  // ratingReducer
  ratingReducer,
  reportingReducer,
  paginateArticles,
  firstArticles,
  bookmarks,
  unbookmark,
  bookmark,
});
