Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added code improvements and performed refactorings #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EraldoCarlosfh
Copy link

@EraldoCarlosfh EraldoCarlosfh commented May 19, 2024

add utils formatedPrice to remove the need for toFixed(2) and format to real value, added CartPrice shared component, rename property subtotal to subTotal to follow standard.

Alterações:
Foi criado um metódo formattedPrice para remover a necessidade de toFixed(2) e formatar para valor real.
Adicionado o componente compartilhado CartPrice pra exibir valor total, subtotal, frete e descontos no carrinho.
Refatoramente daa propriedade subtotal para subTotal para seguir o padrão.

…ormat to real value, added CartPrice shared component, rename property subtotal to subTotal to follow standard.
Copy link

vercel bot commented May 19, 2024

@EraldoCarlosfh is attempting to deploy a commit to the felipefullstackclu's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant