Fix lint: remove unused variable in ElevationChart
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b496cd9b02
commit
3f0fe859a5
1 changed files with 0 additions and 1 deletions
|
|
@ -177,7 +177,6 @@ export function ElevationChart({ yjs, onHover, days }: ElevationChartProps) {
|
|||
// Day dividers
|
||||
if (days && days.length > 1) {
|
||||
for (let d = 0; d < days.length - 1; d++) {
|
||||
const day = days[d]!;
|
||||
// Find the point closest to the day boundary distance
|
||||
const boundaryDist = days.slice(0, d + 1).reduce((sum, s) => sum + s.distance, 0);
|
||||
const bx = toX(boundaryDist);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue