deliveryStatsInitialState.js
315 Bytes
'use strict';
import {List, Record} from 'immutable';
import {getLastDay} from '../../utils/dateTool';
let InitialState = Record({
error: null,
isFetching: false,
pageCount: 0,
startDay: getLastDay(),
endDay: getLastDay(),
sum: '0',
totalAmount: '0',
jsonData: List(),
});
export default InitialState;