From 2990be887c5c20640dc52fa72f51addb4fcc4e6b Mon Sep 17 00:00:00 2001 From: Marcello Date: Tue, 2 Jul 2024 04:58:59 +0200 Subject: [PATCH] Delete unused code --- src/actions/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/actions/index.js b/src/actions/index.js index 9c6cc3e4..bf3cd5db 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -73,8 +73,6 @@ export function checkRoutesData() { duration: endTime - startTime, start_time_utc_millis: startTime, end_time_utc_millis: endTime, - // TODO: get this from the API, this isn't correct for segments with a time jump - segment_durations: r.segment_start_times.map((x, i) => r.segment_end_times[i] - x), }; }).sort((a, b) => { return b.create_time - a.create_time;