forked from dooley1001/hoard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrootReducer.js
More file actions
44 lines (38 loc) · 1.05 KB
/
Copy pathrootReducer.js
File metadata and controls
44 lines (38 loc) · 1.05 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
/**
|--------------------------------------------------
| Root Reducer - combines all reducers throughout the app
|--------------------------------------------------
Usage:
import example from "path/to/Example/reducer";
Add to combineReducers:
combineReducers({
example,
...
});
*/
import { combineReducers } from 'redux';
import app from 'containers/App/reducer';
import contacts from "sagas/contacts/reducer";
import login from 'screens/Login/reducer';
import signup from 'screens/Signup/reducer';
import wallet from 'screens/Wallet/reducer';
import receiveModal from 'containers/ReceiveModal/reducer';
import sendModal from 'containers/SendModal/reducer';
import pricing from 'sagas/pricing/reducer';
import transactions from 'sagas/transactions/reducer';
import transactionStatus from 'screens/TransactionStatus/reducer';
import kyc from 'screens/KYC/reducer';
const rootReducer = combineReducers({
app,
contacts,
login,
signup,
wallet,
receiveModal,
sendModal,
pricing,
transactions,
transactionStatus,
kyc
});
export default rootReducer;