Skip to content

Commit

Permalink
fix client order id on debug ui
Browse files Browse the repository at this point in the history
  • Loading branch information
brittcyr committed Oct 29, 2024
1 parent a428fea commit 5ca2064
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions debug-ui/app/components/MyStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ const MyStatus = ({
<td className="py-2">
{myWrapperOpenOrders
.filter((openOrder: WrapperOpenOrder) => {
return (openOrder.orderSequenceNumber =
restingOrder.sequenceNumber);
return (openOrder.orderSequenceNumber.toNumber() ==
restingOrder.sequenceNumber.toNumber());
})
.reduce((_acc, current) => {
return current.clientOrderId.toString();
Expand Down Expand Up @@ -430,8 +430,8 @@ const MyStatus = ({
<td className="py-2">
{myWrapperOpenOrders
.filter((openOrder: WrapperOpenOrder) => {
return (openOrder.orderSequenceNumber =
restingOrder.sequenceNumber);
return (openOrder.orderSequenceNumber.toNumber() ==
restingOrder.sequenceNumber.toNumber());
})
.reduce((_acc, current) => {
return current.clientOrderId.toString();
Expand Down

0 comments on commit 5ca2064

Please sign in to comment.