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

feat: improvement-add failed to switch network message #1188

Merged
merged 2 commits into from
Aug 3, 2022

Conversation

TienPQ149
Copy link
Contributor

No description provided.

@TienPQ149 TienPQ149 requested review from viet-nv and hungdoansy August 2, 2022 02:44
@kyber-ci-bot
Copy link

Auto Deploy Pull Request

Your domain dmm-interface-1188.pr.kyberengineering.io has been created.

Notes

  • Please wait up to 60s, we need to pull your image.
  • This domain only validity until this PR is closed

@@ -176,11 +181,11 @@ function Web3StatusInner() {
{!hasPendingTransactions && connector && <StatusIcon connector={connector} />}
</Web3StatusConnected>
)
} else if (error) {
} else if (error || switchNetworkErrorId) {
Copy link
Member

Choose a reason for hiding this comment

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

why do we show wrong network here?
I think we dont need switchNetworkErrorId state, just show popup error is ok

Copy link
Contributor Author

@TienPQ149 TienPQ149 Aug 2, 2022

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I discussed with Linh, He agrees that we can remove wrong network error, just show error popup is enough

@TienPQ149 TienPQ149 force-pushed the Improvement_add_failed_to_switch_network_message branch from ef72b9f to 9697356 Compare August 2, 2022 03:53
@kyber-ci-bot
Copy link

Auto Deploy Pull Request

Your domain kyberswap-interface-1188.pr.kyberengineering.io has been created.

Notes

  • Please wait up to 60s, we need to pull your image.
  • This domain only validity until this PR is closed

@TienPQ149 TienPQ149 force-pushed the Improvement_add_failed_to_switch_network_message branch from a31f892 to 539e30a Compare August 3, 2022 04:04
@viet-nv viet-nv changed the title feature: improvement-add failed to switch network message feat: improvement-add failed to switch network message Aug 3, 2022
@viet-nv viet-nv merged commit c803f84 into main Aug 3, 2022
@viet-nv viet-nv deleted the Improvement_add_failed_to_switch_network_message branch August 3, 2022 06:48
@kyber-ci-bot
Copy link

Auto Deploy Pull Request

Your domain kyberswap-interface-1188.pr.kyberengineering.io has been revoked because: PR closed.

Notes

  • Please re-open the PR to re-create this domain!

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