Skip to content

Commit

Permalink
Delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellofuschi committed Jul 2, 2024
1 parent 396f0d6 commit 2990be8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2990be8

Please sign in to comment.