Skip to content

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
FaaizHaikal committed May 12, 2024
1 parent 7453d60 commit 2ad17e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/ReadJointsButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ function ReadJointsButton() {
});
}

const sortedJointRobotData = newJointRobotData.slice().sort((a, b) => {
return a.id - b.id;
});
const sortedJointRobotData = newJointRobotData.slice().sort((a, b) => a.id - b.id);

return sortedJointRobotData;
});
Expand Down

0 comments on commit 2ad17e5

Please sign in to comment.