debug: Removes console.log statement in dashboard.js
Eliminates a debug console.log used for logging key, average, and moodOptions values, improving code cleanliness and performance.
This commit is contained in:
parent
5b56eef878
commit
95b4a15f15
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ fetch("/mood/statistics/heatmap/values/")
|
|||
y: d => {
|
||||
if (d.average) {
|
||||
const key = Object.keys(moodOptions).reduce((a, b) => Math.abs(a - d.average) < Math.abs(b - d.average) ? a : b);
|
||||
console.log(key, d.average, moodOptions[key]);
|
||||
return Number(key);
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue