[지라이슈없음]디테일에서 buy now 버튼 클릭시 typeError 수정
This commit is contained in:
@@ -451,11 +451,11 @@ export default function SingleOption({
|
||||
return dispatch(setShowPopup(Config.ACTIVE_POPUP.loginPopup));
|
||||
}
|
||||
if (userNumber && selectedPatnrId && selectedPrdtId && quantity) {
|
||||
const { prodOptCval, priceInfo } = selectedOptions;
|
||||
const { prodOptCval, priceInfo } = selectedOptions || {};
|
||||
const { patncNm, brndNm, catNm, prdtNm, prdtId } = productInfo;
|
||||
const regularPrice = priceInfo.split("|")[0];
|
||||
const discountPrice = priceInfo.split("|")[1];
|
||||
const discountRate = priceInfo.split("|")[4];
|
||||
const regularPrice = priceInfo?.split("|")[0];
|
||||
const discountPrice = priceInfo?.split("|")[1];
|
||||
const discountRate = priceInfo?.split("|")[4];
|
||||
dispatch(
|
||||
sendLogTotalRecommend({
|
||||
nowMenu: nowMenu,
|
||||
|
||||
Reference in New Issue
Block a user