You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did an ugly hack where I am forcefully re rendering the component on props.currency change. The component re renders all right but still with the previous options . The new props.currency is not being updated in checkout.
The text was updated successfully, but these errors were encountered:
athoifss
changed the title
[BUG]
[BUG] Button not detecting prop changes and re renders with previous props
Apr 17, 2021
It seems like upon re rendering (through prop change) the options object does not detect the new change and still renders the checkout with old props.
I did an ugly hack where I am forcefully re rendering the component on props.currency change. The component re renders all right but still with the previous options . The new props.currency is not being updated in checkout.
The text was updated successfully, but these errors were encountered: