Frankencoin-ZCHF / frankencoin-dapp

Frankencoin Web App to interact with the Eco System
https://frankencoin.com/
MIT License
0 stars 4 forks source link

Frontend does not update automatically after signing an approval transaction #74

Open KostasZav opened 5 days ago

KostasZav commented 5 days ago

When swapping XCHF to ZCHF on the Frankencoin website, the frontend does not update automatically after a user signs an approval transaction. This results in a somewhat poor user experience.

Steps to Reproduce:

  1. Navigate to the swap page at https://app.frankencoin.com/swap.
  2. Select XCHF as the input ("Send") and ZCHF as the output ("Receive").
  3. Initiate the swap process which requires signing an approval transaction.
  4. Sign the approval transaction.

Actual Behavior: The frontend does not update automatically after signing the approval transaction. The user has to manually refresh the page to see the updated status, leading to potential signing of multiple approval transactions.

Expected Behavior: The frontend should automatically update after the approval transaction is signed, preventing the user from signing multiple approval transactions unnecessarily