-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat: improvement-add failed to switch network message #1188
Conversation
Auto Deploy Pull RequestYour domain dmm-interface-1188.pr.kyberengineering.io has been created. Notes
|
src/components/Web3Status/index.tsx
Outdated
@@ -176,11 +181,11 @@ function Web3StatusInner() { | |||
{!hasPendingTransactions && connector && <StatusIcon connector={connector} />} | |||
</Web3StatusConnected> | |||
) | |||
} else if (error) { | |||
} else if (error || switchNetworkErrorId) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know. I just follow the design. https://www.figma.com/file/RzMXwwz34wZnijmvKWnvza/KyberSwap?node-id=17929%3A178938
There was a problem hiding this comment.
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
ef72b9f
to
9697356
Compare
Auto Deploy Pull RequestYour domain kyberswap-interface-1188.pr.kyberengineering.io has been created. Notes
|
a31f892
to
539e30a
Compare
Auto Deploy Pull RequestYour domain kyberswap-interface-1188.pr.kyberengineering.io has been revoked because: PR closed. Notes
|
No description provided.