deliveryStatsInitialState.js
364 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(),
isShowDatePickerIOS: false,
isStartDate: true,
sum: '0',
totalAmount: '0',
jsonData: List(),
});
export default InitialState;