[주문 결제] buy now -> checkout 진입 시에 로딩 스피너 제거
This commit is contained in:
@@ -110,6 +110,8 @@ export const getCheckoutTotalAmt =
|
||||
orderProductCoupontUse,
|
||||
} = params;
|
||||
|
||||
dispatch(changeAppStatus({ isLoading: false }));
|
||||
|
||||
dispatch(
|
||||
changeAppStatus({ showLoadingPanel: { show: true, type: "wait" } })
|
||||
);
|
||||
|
||||
@@ -388,7 +388,6 @@ export default function SingleOption({
|
||||
response.data.shippingAddressList.length === 0
|
||||
) {
|
||||
dispatch(setShowPopup(Config.ACTIVE_POPUP.qrPopup));
|
||||
// dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
dispatch(changeAppStatus({ isLoading: false }));
|
||||
|
||||
return;
|
||||
@@ -407,11 +406,9 @@ export default function SingleOption({
|
||||
}
|
||||
} else if (response.retCode === 1001) {
|
||||
dispatch(setShowPopup(Config.ACTIVE_POPUP.qrPopup));
|
||||
// dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
dispatch(changeAppStatus({ isLoading: false }));
|
||||
} else {
|
||||
dispatch(showError(response.retCode, response.retMsg, false));
|
||||
// dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
dispatch(changeAppStatus({ isLoading: false }));
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user