couponInitialState.js
509 Bytes
'use strict';
import {Record, List, Map} from 'immutable';
let InitialState = Record({
unuseCoupon:new (Record({
couponList: List(),
isFetching: false,
error: null,
currentPage: 0,
pageSize: 10,
total: 0,
endReached: false,
})),
usedCoupon: new (Record({
couponList: List(),
isFetching: false,
error: null,
currentPage: 0,
pageCount: 0,
pageSize: 10,
total: 0,
endReached: false,
})),
fliter: 0,
});
export default InitialState;