Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Balances Displayed & Send Enabled When Wallet Disconnected #126

Open
williamluke4 opened this issue Jun 4, 2024 · 0 comments
Open

Balances Displayed & Send Enabled When Wallet Disconnected #126

williamluke4 opened this issue Jun 4, 2024 · 0 comments

Comments

@williamluke4
Copy link
Member

Currently, the application displays token balances and allows users to attempt sending transactions even when their wallet is disconnected. This seems to persist even after logging out.

Steps to Reproduce:

  1. Connect a wallet and observe the displayed balances.
  2. Disconnect or log out of the wallet.
  3. Notice that balances are still shown.
  4. Navigate to the vouchers/pools page and observe that the "Send" button is still active.

Expected Behavior:

  • When a wallet is disconnected, balances should not be displayed.
  • The application should prevent any actions that require a connected wallet (e.g., sending transactions) and instead prompt the user to connect/sign in.

Additional Notes:

This issue likely stems from the application maintaining an authenticated session even when the wallet connection is lost. This could potentially lead to user confusion and unexpected behavior.

Severity: Medium (potential for user confusion and unintended actions)

Proposed Solution (Optional):

  • Implement a check to ensure the wallet is actively connected before displaying balances or enabling transaction-related actions.
  • Clear any relevant session data upon wallet disconnection to prevent unintended access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant