divaprotocol / diva-monorepo

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

[Bug] Wrong YOUR OPEN ORDERS data on market switch #808

Open Walodja1987 opened 1 year ago

Walodja1987 commented 1 year ago

Steps to reproduce

  1. Create a Sell order for one market
  2. Confirm that YOUR OPEN ORDERS shows the expected information
  3. Navigate to another market with an empty order book via a trade page link
  4. Observe that YOUR OPEN ORDERS shows some wrong data, most likely the one that was fetched and stored in the Redux store from the market before

Screenshots / Screen recording

https://www.loom.com/share/4ebc435f7c624e46bd8af53e1f188412 The two markets shown in the loom are: