Skip to content

web(StellarWalletProvider): listen for wallet network change events #383

Description

@pragmaticAweds

Summary

Provider state remains stale when user switches network in Freighter extension.

Where

apps/web/src/providers/StellarWalletProvider.tsx:120-140

Why this is a real bug, not just lint noise

  1. Affects user experience, functionality, or performance in production.
  2. Needs to be addressed to ensure robustness across all supported devices and Stellar network states.

Fix

Add getNetworkDetails change listener in provider useEffect.

Acceptance criteria

  • Issue is resolved in apps/web/src/providers/StellarWalletProvider.tsx:120-140.
  • No regression introduced in existing test suites.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions