[Log] IF-LGSP-LOG-108, 결제 페이지 진입 이력 반영
This commit is contained in:
@@ -38,8 +38,8 @@ import InformationContainer from "./container/InformationContainer";
|
||||
import OrderItemsSideBar from "./container/OrderItemsSideBar";
|
||||
import SummaryContainer from "./container/SummaryCotainer";
|
||||
|
||||
export default function CheckOutPanel() {
|
||||
const { sendLogGNB } = useLogService();
|
||||
export default function CheckOutPanel({ panelInfo }) {
|
||||
const { sendLogGNB, sendLogPaymentEntry } = useLogService();
|
||||
const dispatch = useDispatch();
|
||||
const panels = useSelector((state) => state.panels.panels);
|
||||
const { userNumber } = useSelector(
|
||||
@@ -285,6 +285,12 @@ export default function CheckOutPanel() {
|
||||
[orderSideBarOpen, offerSideBarOpen, dispatch]
|
||||
);
|
||||
|
||||
const doSendLogPaymentEntry = useCallback(() => {
|
||||
if (panelInfo?.logInfo) {
|
||||
sendLogPaymentEntry(panelInfo.logInfo);
|
||||
}
|
||||
}, [panelInfo?.logInfo]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<TPanel
|
||||
@@ -308,6 +314,7 @@ export default function CheckOutPanel() {
|
||||
handleTermsClick={handleTermsClick}
|
||||
currSign={currSign}
|
||||
currSignLoc={currSignLoc}
|
||||
doSendLogPaymentEntry={doSendLogPaymentEntry}
|
||||
/>
|
||||
<InformationContainer
|
||||
toggleOrderSideBar={toggleOrderSideBar}
|
||||
|
||||
Reference in New Issue
Block a user