Skip to content

Credits em Supertoken#148

Open
Gui Carvalho (meliguicarvalho) wants to merge 4 commits into
mercadopago:mainfrom
meliguicarvalho:main
Open

Credits em Supertoken#148
Gui Carvalho (meliguicarvalho) wants to merge 4 commits into
mercadopago:mainfrom
meliguicarvalho:main

Conversation

@meliguicarvalho

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestões:

  • selectedInstallments: '0' como valor inicial não tem match nas opções do select quando as parcelas chegam da API. Inicializar com '' ou com a primeira parcela disponível.

  • O check selectedMethod?.type === 'digital_currency' && selectedMethod?.id === 'consumer_credits' aparece 3 vezes. Um type guard isConsumerCredits(method) limparia isso e eliminaria os casts as Extract<...>.


This review was AI-assisted using Claude Code. The analysis was validated and approved by Francine Emilia Costa (@francineemilia) before posting.

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.

3 participants