[ProductTag] ProductTag컴포넌트 작업중, 관련 reducer/actions/apiConfig 추가 및 DetailPanel 수정
This commit is contained in:
@@ -2,6 +2,7 @@ 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";
|
||||
@@ -27,6 +28,12 @@ export default function ItemDetail() {
|
||||
prdtId: panels[1].panelInfo?.prdtId,
|
||||
})
|
||||
);
|
||||
dispatch(
|
||||
getProductCouponSearch({
|
||||
patnrId: panels[1]?.panelInfo?.patnrId,
|
||||
prdtId: panels[1]?.panelInfo?.prdtId,
|
||||
})
|
||||
);
|
||||
}
|
||||
}, [dispatch, panels]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user