Skip to content

Commit

Permalink
fix: remove operations sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
pkostukevich committed Sep 5, 2024
1 parent 6b94ce4 commit ef256dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/OrdersViewD3/components/VerticalTimeline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ const VerticalTimeline = ({
// first = first.sort((a, b) => b.oprTypeID - a.oprTypeID);
// end = end.sort((a, b) => b.oprTypeID - a.oprTypeID);
// setUpdate([...first, ...end].sort((a, b) => (a.oprTypeID > b.oprTypeID ? 1 : -1)));
data = data.sort((a, b) => a.oprTypeID - b.oprTypeID); // //////////////////
setUpdate(data);
} else {
setUpdate([]);
Expand Down

0 comments on commit ef256dd

Please sign in to comment.