divaprotocol / diva-monorepo

Diva Monorepo
https://diva.finance
4 stars 4 forks source link

[Bug] Wrong expected rate when loading new market #804

Open Walodja1987 opened 1 year ago

Walodja1987 commented 1 year ago

Steps to reproduce

  1. Create a SELL offer for market A and observe that the expected rate updates correctly for that market
  2. Now, by pasting a new link, navigate to another market that has no offers
  3. Observe that the expected rate is from the previous market

Screenshots / Screen recording

https://www.loom.com/share/ac1a4904b4ac4b7abe544cff15db09f0