Commit b2cf6bee authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

add reduce

parent 85bedb85
......@@ -548,6 +548,18 @@ const rootReducer = (state = globalState, action) => {
}
}
case ActionType.SET_REEDEM: {
return {
...state,
in_payment: action.data.in_payment,
redeem_code :action.data.redeem_code,
balance_redeem : action.data.balance_redeem,
point_redeem:action.data.point_redeem
}
}
case ActionType.SET_ORDER_FINISH: {
return {
...state,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment