This commit is contained in:
everythingonblack
2025-08-19 00:34:23 +07:00
parent e3154e4cde
commit 56961ef8f6
5 changed files with 9 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ const ProductCard = ({ product, onCardClick, isCenter, canHover, onCollapse }) =
<div className={styles.buttonGroup}>
<button
className={styles.detailButton}
onClick={(e) => { e.preventDefault(); e.stopPropagation(); onCardClick && onCardClick(product); }}
onClick={(e) => { e.preventDefault(); e.stopPropagation(); onCardClick && onCardClick(product, true); }}
>
Detail
</button>