Last active
July 16, 2019 18:43
-
-
Save alexytiger/5aa1e4117f2d4f53d659693b2809d9bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as fromRoot from '../../../core/store/reducers'; | |
| import * as fromIpfsUpload from './ipfs-upload.reducer'; | |
| import * as fromProducts from './purchase-contract.reducer'; | |
| export interface PurchaseContractState { | |
| ipfsUpload: fromIpfsUpload.State; | |
| products: fromProducts.State | |
| } | |
| export interface AppState extends fromRoot.AppState { | |
| purchaseContract: PurchaseContractState; | |
| } | |
| export function reducers(state: PurchaseContractState | undefined, action: Action) { | |
| return combineReducers({ | |
| ipfsUpload: fromIpfsUpload.reducer, | |
| products: fromProducts.reducer | |
| })(state, action); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment