InjectiveLabs / injective-helix-demo

Decentralized Derivatives Trading. Any Market. Anytime. Anywhere.
Apache License 2.0
100 stars 71 forks source link

List of trades showing duplicated items #972

Closed dyegonery closed 2 years ago

dyegonery commented 2 years ago

Describe the bug The list of trades on the dex is loading the orders being filles as taker and maker, instead of only showing the orders filled as taker, as expected. Due to this reason, each time a new order is filled, it's being loaded twice (or more) on the list of trades.

To Reproduce Check the list of trades on ATOM/USDT Spot market. This issue is happening specifically with the initial list that is provided when the page is loaded. The new trades added to the list dinamically after that doesn't have the same problem.

Expected behavior Usually, this list only contains the orders filled as taker.

Screenshots Screenshot from 2022-09-19 06-46-37