Skip to content

Commit

Permalink
chore: remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze committed Jan 13, 2023
1 parent b474c50 commit 00202d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ export class Chart extends LitElement {

private _sortBoxes(boxes: Box[], sort?: string, dir = 'desc') {
if (sort === 'state') {
console.log('boxes', boxes);
if (dir === 'desc') {
boxes.sort((a, b) => (a.state > b.state ? -1 : a.state < b.state ? 1 : 0));
} else {
Expand Down

0 comments on commit 00202d4

Please sign in to comment.