juspay / hyperswitch-web

Hyperswitch Web SDK: A Rescript powered React library for seamless payment integration and customization.
https://hyperswitch.io/
Apache License 2.0
53 stars 59 forks source link

fix: card brand update to prevent multiple error messages #767

Closed aritro2002 closed 3 weeks ago

aritro2002 commented 3 weeks ago

Type of Change

Description

Card brand was not updating, leading to different error messages.

Before:

https://github.com/user-attachments/assets/cfc47542-5fce-4dc0-9cb6-9aefa4097b7b

After:

https://github.com/user-attachments/assets/d64d720c-cd2c-42cf-aa81-2471c6c5375c

How did you test it?

Tested via rendering the SDK in chrome.

Checklist

semanticdiff-com[bot] commented 3 weeks ago

Review changes with  SemanticDiff