reducers.js
2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { combineReducers } from "redux";
import { bankingPartnersReducer } from "./bankingPartnersReducer";
import { companyInformationReducer } from "./companyInformationReducer";
import { cpConnectPageReducer } from "./cpConnectPageReducer";
import { detailReducer } from "./detailsReducer";
import { cpLoginReducer } from "./cpLoginReducer";
import { homeBannerReducer } from "./homeBannersReducer";
import { homeContentReducer } from "./homeContentReducer";
import { homeDeliveryStatReducer } from "./homeDeliveryStatsReducer";
import { locationsReducer } from "./locationsReducer";
import { menuItemsReducer } from "./menuItemsReducer";
import { projectReducer, projectsReducer, similarProjectsReducer } from "./projectsReducer";
import { townshipReducer, townshipsReducer } from "./townshipsReducer";
import { authReducer, forgotPasswordReducer, loadedUserReducer, resetPasswordReducer, userReducer } from "./userReducers";
import { referralReducer } from "./referralReducer";
import { contactUsReducer } from "./contactUsReducer";
import { enquiryReducer } from "./enquiryReducer";
import { displayEnquireNowReducer } from "./enquireNowModalReducer";
const reducers = combineReducers({
bankingPartners: bankingPartnersReducer,
homeContent: homeContentReducer,
homeBanners: homeBannerReducer,
townships: townshipsReducer,
township: townshipReducer,
projects: projectsReducer,
project: projectReducer,
companyInformation: companyInformationReducer,
mainMenuItems: menuItemsReducer("Main"),
footerMenuItems: menuItemsReducer("Footer"),
locations: locationsReducer,
homeDeliveryStats: homeDeliveryStatReducer,
cpConnectPage: cpConnectPageReducer,
auth: authReducer,
loadedUser: loadedUserReducer,
user: userReducer,
forgotPassword: forgotPasswordReducer,
resetPassword: resetPasswordReducer,
details: detailReducer,
cpLogin: cpLoginReducer,
referral: referralReducer,
similarProjects: similarProjectsReducer,
contactUs: contactUsReducer,
enquiry: enquiryReducer,
displayEnquireNow:displayEnquireNowReducer
});
export default reducers;