clean up, system alert
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
addReservation,
|
||||
changeAppStatus,
|
||||
deleteReservation,
|
||||
searchReservation,
|
||||
} from "./commonActions";
|
||||
|
||||
export const getMainLiveShow = (props) => (dispatch, getState) => {
|
||||
@@ -89,20 +88,11 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
|
||||
},
|
||||
};
|
||||
|
||||
dispatch(
|
||||
addReservation(data, {
|
||||
onSuccess: (res) => {
|
||||
console.log("LUNA SEND addReservation success", res);
|
||||
},
|
||||
onFailure: (err) => {
|
||||
console.log("LUNA SEND addReservation failed", err);
|
||||
},
|
||||
})
|
||||
);
|
||||
dispatch(addReservation(data));
|
||||
}
|
||||
//
|
||||
else if (alamDispFlag === "N") {
|
||||
dispatch(searchReservation(showId));
|
||||
dispatch(deleteReservation(showId));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user