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

fix: missing network not supported modal on wallet network switch #2565

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

zoruka
Copy link
Contributor

@zoruka zoruka commented Jul 18, 2024

Description

This PR readds the modal opening when there is a change in the wallet for a network that is not supported by the app.

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

Closes APKT-694
closes #2518

Showcase (Optional)

If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.

showcase.mov

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
web3modal-gallery ✅ Ready (Inspect) Visit Preview Jul 18, 2024 7:28pm
web3modal-laboratory ✅ Ready (Inspect) Visit Preview Jul 18, 2024 7:28pm

Comment on lines +85 to +87
if (modalPage.library === 'solana') {
return
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ganchoradkov now that RPC supports solana testnet/devnet can we add them to react-wallet?

@zoruka zoruka merged commit daa678c into main Jul 18, 2024
9 checks passed
@zoruka zoruka deleted the fix/missing-network-not-supported-modal branch July 18, 2024 19:49
@tomiir tomiir mentioned this pull request Jul 24, 2024
4 tasks
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

Successfully merging this pull request may close these issues.

[bug] Do not show the Switch Network modal when the app doesn't support your current network
2 participants