fix(pix): corrige componente pix

This commit is contained in:
carloswinter 2023-02-10 16:19:21 -03:00
parent ee9a917af3
commit 738544d242

View File

@ -12,23 +12,10 @@ const Pix = () => {
),
};
// const priceTimes =
// product?.selectedItem?.sellers[0].commertialOffer.Installments[3]
// .NumberOfInstallments;
// const valueTotal = product?.selectedItem?.sellers[0].commertialOffer.Installments[3].Value.toFixed(
// 2
// )
// .toString()
// .replace(".", ",");
const pixPrice = (pix.pixValue = pix.pixValue * 0.9)
.toFixed(2)
.toString()
.replace(".", ",");
/* <span className={styles.AllPriceTimesText}>
<span className={styles.PriceTimes}>{priceTimes} x</span> de
<span className={styles.PriceTimes}> R$ {valueTotal}</span> sem juros
</span> */
return (
<>
<div className={styles.PricesWrapperRow}>
@ -45,8 +32,6 @@ const Pix = () => {
</div>
</>
);
// return <button className={styles.PixButton}>Pix</button>;
};
export default Pix;