Open prayagd opened 1 month ago
When a user completes a Nabla swap and now changes the source token and does not change the source amount, the Approve button does not show up and directly a Swap button is displayed on clicking Swap button the transaction fails.
Approve
Swap
Steps to reproduce the behavior:
Approve button should show before every new swap to be done assuming the Approval was not done for the specific pair and amount
Add any other context about the problem here.
Describe the bug
When a user completes a Nabla swap and now changes the source token and does not change the source amount, the
Approve
button does not show up and directly aSwap
button is displayed on clickingSwap
button the transaction fails.Reproduction
Steps to reproduce the behavior:
Expected behavior
Approve button should show before every new swap to be done assuming the Approval was not done for the specific pair and amount
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.