bancorprotocol / webapp

Bancor Swap/Analytics webapp
https://app.bancor.network
MIT License
32 stars 45 forks source link

incorrect network indication #1430

Closed ashachaf closed 3 years ago

ashachaf commented 3 years ago

Describe the bug image

To Reproduce Steps to reproduce the behavior:

  1. Go to swap
  2. open metamask and change network
  3. go back to the widget, input a token amount see error

expected: once the network has switched to a not supported chain, we should auto force the page to open the "incorrect network" message.

please update the design of this page: https://www.figma.com/file/3yED7o7TgoLwoEjV2EkRLL/Bancor-V2?node-id=4658%3A11060

pingustar commented 3 years ago

@Velua seems like the getter does not update automatically? Can I hand that over to you - or get some guidance on how to fix.

Velua commented 3 years ago

PR should fix the issue, give it a test.

Velua commented 3 years ago

@pingustar