From b4f25ee6d006ae8823976078fea7e27ba9368356 Mon Sep 17 00:00:00 2001 From: devartes Date: Wed, 25 Jan 2023 12:59:09 -0300 Subject: [PATCH] =?UTF-8?q?refactor:=20modificando=20nome=20do=20arquivo?= =?UTF-8?q?=20de=20estilo=20do=20componente=20InstallmentProduct=20e=20a?= =?UTF-8?q?=20op=C3=A7=C3=A3o=20do=20Installments=20do=20useProduct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- react/components/InstallmentProduct/InstallmentProduct.tsx | 7 +++---- .../{InstallmentProduct.module.css => styles.css} | 0 2 files changed, 3 insertions(+), 4 deletions(-) rename react/components/InstallmentProduct/{InstallmentProduct.module.css => styles.css} (100%) diff --git a/react/components/InstallmentProduct/InstallmentProduct.tsx b/react/components/InstallmentProduct/InstallmentProduct.tsx index 096a337..8bb9802 100644 --- a/react/components/InstallmentProduct/InstallmentProduct.tsx +++ b/react/components/InstallmentProduct/InstallmentProduct.tsx @@ -1,16 +1,15 @@ import React from "react"; import { useProduct } from "vtex.product-context"; -import styles from "./InstallmentProduct.module.css"; +import styles from "./styles.css"; const InstallmentProduct = () => { const product = useProduct(); - const productWithInstallments = { numberOfInstallments: - product?.selectedItem?.sellers[0].commertialOffer.Installments[10] + product?.selectedItem?.sellers[0].commertialOffer.Installments[3] .NumberOfInstallments, value: - product?.selectedItem?.sellers[0].commertialOffer.Installments[10].Value, + product?.selectedItem?.sellers[0].commertialOffer.Installments[3].Value, }; return (

diff --git a/react/components/InstallmentProduct/InstallmentProduct.module.css b/react/components/InstallmentProduct/styles.css similarity index 100% rename from react/components/InstallmentProduct/InstallmentProduct.module.css rename to react/components/InstallmentProduct/styles.css