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

Switch network to DAO network if opened by url #372

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

Man-Jain
Copy link
Collaborator

@Man-Jain Man-Jain commented Nov 14, 2022

This PR checks for the network of the DAO and if it doesn't match the current network the changeNetwork is called and switched to DAO's network.

A better solution for future would be to put the network in the network URL and only triggering network switch if user interact with DAO, until then the DAO should work normally. A similar approach is in Issue #259

@netlify
Copy link

netlify bot commented Nov 14, 2022

Deploy Preview for tezos-homebase ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/tezos-homebase/deploys/637193a0dbbc1039594fb44f
😎 Deploy Preview https://deploy-preview-372--tezos-homebase.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Signed-off-by: Manank Patni <manank321@gmail.com>
@Man-Jain Man-Jain merged commit 2d2e892 into develop Nov 14, 2022
@Man-Jain Man-Jain deleted the network-switch-patch branch November 14, 2022 11:18
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.

3 participants