[주문 결제] buy now -> checkout 진입 시에 로딩 스피너 제거

This commit is contained in:
hyunwoo93.cha
2025-01-15 14:17:54 +09:00
parent bd54a8a43d
commit 2abcbbc70b
2 changed files with 2 additions and 3 deletions

View File

@@ -110,6 +110,8 @@ export const getCheckoutTotalAmt =
orderProductCoupontUse,
} = params;
dispatch(changeAppStatus({ isLoading: false }));
dispatch(
changeAppStatus({ showLoadingPanel: { show: true, type: "wait" } })
);

View File

@@ -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;