Fix lint: remove unused variable in ElevationChart

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-10 23:57:27 +02:00
parent b496cd9b02
commit 3f0fe859a5
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -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);