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: Network switch on mobile #239

Merged
merged 1 commit into from
May 12, 2023
Merged

fix: Network switch on mobile #239

merged 1 commit into from
May 12, 2023

Conversation

karelianpie
Copy link
Member

@karelianpie karelianpie commented May 12, 2023

Description

TL;DR chains.getCurrent() is an object so the comparison Number(chains.getCurrent()) === id was always false

Related Issue

Fixes #238

Motivation and Context

Allow users to change the network on mobile

How Has This Been Tested?

Ran locally in the mobile view

@karelianpie karelianpie self-assigned this May 12, 2023
@Majorfi Majorfi merged commit 4c623cf into main May 12, 2023
@Majorfi Majorfi deleted the fix/network-switch-mobile branch May 12, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🟢 Done
Development

Successfully merging this pull request may close these issues.

bug: Network switcher on mobile
2 participants