VG
Size: a a a
VG
S

@
AA
function inProgressSeats(state = [], action) {
switch (action.type) {
case seatsActionsTypes.SEATS_CLICK: {
return [...state, action.payload];
}
case seatsActionsTypes.SEATS_RESET_INPROGRESS: {
return []
}
case seatsActionsTypes.SEATS_SET_INPROGRESS: {
return action.payload.seats;
}
default:
return state
}
}
export const seatsReducer = combineReducers({
byId: seatsById,
activeSeats: activeSeats,
inProgressSeats: inProgressSeats,
allIds: allSeats,
companions: companions,
})PM
VG
@
VG
@
VG
S
@
VG
@
VG
S
VG
@
DB