Skip to content

Commit

Permalink
sort tool tip items in visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelaziz-mahdy committed Dec 19, 2024
1 parent fedd465 commit 1c3a6e5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions benchmark-app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ function ImprovedBenchmarkApp() {
setLoading(false);
});

return () => {
source.cancel("Component got unmounted");
};
// return () => {
// source.cancel("Component got unmounted");
// };
}, []);

// --- Selection Handlers with Checkboxes ---
Expand Down Expand Up @@ -919,6 +919,9 @@ function ImprovedBenchmarkApp() {
bodyColor: "#fff",
borderColor: "rgba(0, 0, 0, 0.2)",
borderWidth: 1,
itemSort: function (a, b) {
return b.raw - a.raw;
},
},
zoom: {
zoom: {
Expand Down

0 comments on commit 1c3a6e5

Please sign in to comment.