[DetailPanel] getProductCouponSearch dispatch 호출 제거 > optionCommon 에서 호출 할 수 있도록 변경

This commit is contained in:
jiwon93.son
2024-02-27 09:53:44 +09:00
parent 19d43cc9fb
commit bc50f116a3

View File

@@ -2,7 +2,6 @@ import React, { useEffect, useState } from "react";
import { useDispatch, useSelector } from "react-redux";
import { getProductCouponSearch } from "../../actions/couponActions";
import { getMainCategoryDetail } from "../../actions/mainActions";
import { popPanel } from "../../actions/panelActions";
import TBody from "../../components/TBody/TBody";
@@ -38,12 +37,6 @@ export default function ItemDetail() {
prdtId: panelInfo?.prdtId,
})
);
dispatch(
getProductCouponSearch({
patnrId: panelInfo?.patnrId,
prdtId: panelInfo?.prdtId,
})
);
}
}, [dispatch, panelInfo]);