reducers.js
901 Bytes
import { combineReducers } from "redux";
import { projectReducer, projectsReducer, similarProjectsReducer } from "./projectsReducer";
import { townshipReducer, townshipsReducer } from "./townshipsReducer";
import { authReducer, forgotPasswordReducer, loadedUserReducer, resetPasswordReducer, userReducer } from "./userReducers";
import { enquiryReducer } from "./enquiryReducer";
import { displayEnquireNowReducer } from "./enquireNowModalReducer";
const reducers = combineReducers({
townships: townshipsReducer,
township: townshipReducer,
projects: projectsReducer,
project: projectReducer,
auth: authReducer,
loadedUser: loadedUserReducer,
user: userReducer,
forgotPassword: forgotPasswordReducer,
resetPassword: resetPasswordReducer,
similarProjects: similarProjectsReducer,
enquiry: enquiryReducer,
displayEnquireNow:displayEnquireNowReducer
});
export default reducers;