Skip to content

Commit

Permalink
Added support for keyboard shortcuts to accept, reject, ignore and mo…
Browse files Browse the repository at this point in the history
…ve up and down
  • Loading branch information
eurunuela committed May 27, 2022
1 parent bc7ef5f commit 25a96be
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 145 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"react": "^17.0.2",
"react-chartjs-2": "3.0.4",
"react-dom": "^17.0.2",
"react-hotkeys": "^2.0.0",
"react-icons": "^4.2.0",
"react-papaparse": "^3.17.2",
"react-scripts": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Plots/PlotUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ignoredColorHover = "#0284C7";
// This functions converts the data into 4 objects corresponding to the 4 plots.
// The objects have the necessary structure to feed the chartjs plots.
export function parseData(data) {
console.log(data);
// console.log(data);
let kappa_rho = {
labels: data.map((e) => e.Component),
datasets: [
Expand Down
Loading

0 comments on commit 25a96be

Please sign in to comment.