XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 38 forks source link

[bug] Destination wallet is disconnected when user disconnects source chain wallet #1035

Open tsadovska opened 3 months ago

tsadovska commented 3 months ago

Is there an existing issue for this?

Current Behavior

Sui wallet is disconnected.

https://github.com/user-attachments/assets/ce3f19c5-f118-4338-8a15-a80ec56d7cc0

Expected Behavior

Sui wallet is remains connected.

Steps To Reproduce

  1. Open https://portalbridge.com/
  2. Prepare to send ETH from Ethereum (MetaMask) to Polygon (MetaMask)
  3. Change destination chain from Polygon to Sui (in my case, Sui wallet is automatically connected)
  4. Click on wallet address in "From" section
  5. Select "Disconnect" option from dropdown menu
  6. Check if Sui wallet remains connected in "To" section

Environment

- OS: macOS Sonoma 14.5
- Wallet: MetaMask, Sui
- Browser: Google Chrome Version 127.0.6533.120 (Official Build) (arm64)

Anything else?

No response