Skip to content

Commit

Permalink
Remove spuriuos return
Browse files Browse the repository at this point in the history
Return as the last statement
of a function without return value
is not required.
  • Loading branch information
pjonsson committed Apr 10, 2024
1 parent 5f71c6c commit 45487f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/ReactViews/Custom/Chart/MomentPointsChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ function closestPointIndex(x, sortedPoints) {
return i - 1;
}
}
return;
}

export default MomentPointsChart;

0 comments on commit 45487f8

Please sign in to comment.