const initialState = {
    bandwidth: {
        remained: 0,
        maxValue: 0,
    },
};
const bandwidthReducer = (state = initialState, action) => {
    switch (action.type) {
        case 'SET_BANDWIDTH': {
            return Object.assign(Object.assign({}, state), { bandwidth: {
                    remained: action.remained,
                    maxValue: action.maxValue,
                } });
        }
        default:
            return state;
    }
};
export default bandwidthReducer;
//# sourceMappingURL=bandwidth.js.map