[DetailPanel]

- existingProductIndex : patnrId > prdtId 로 변경
This commit is contained in:
jiwon93.son
2024-04-25 17:09:50 +09:00
parent 1d08464d95
commit daa03e4a65

View File

@@ -92,7 +92,7 @@ export default function DetailPanel({ panelInfo }) {
}/${currentDate.getDate()}`;
const existingProductIndex = recentItmes.findIndex((item) => {
return item.prdtId === patnrId;
return item.prdtId === prdtId;
});
if (existingProductIndex !== -1) {