From b41ab803cd36c0e7d74bbaab73e46e93c91e4a50 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 11 Jul 2024 22:23:02 -0700 Subject: [PATCH] more --- src/actions/index.js | 2 +- src/reducers/globalState.js | 1 - src/url.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/actions/index.js b/src/actions/index.js index fa1fd018..a928583a 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -118,6 +118,7 @@ export function checkLastRoutesData() { return } + console.log(`fetching ${limit +LIMIT_INCREMENT } routes`) dispatch({ type: Types.ACTION_UPDATE_ROUTE_LIMIT, limit: limit + LIMIT_INCREMENT, @@ -183,7 +184,6 @@ export function popTimelineRange(log_id, allowPathChange = true) { } export function pushTimelineRange(log_id, start, end, allowPathChange = true) { - return (dispatch, getState) => { const state = getState(); diff --git a/src/reducers/globalState.js b/src/reducers/globalState.js index d5756289..c2d3a308 100644 --- a/src/reducers/globalState.js +++ b/src/reducers/globalState.js @@ -319,7 +319,6 @@ export default function reducer(_state, action) { end: state.currentRoute.end_time_utc_millis, }; - if (!state.loop) { state.loop = { startTime: state.zoom.start, diff --git a/src/url.js b/src/url.js index 9a618681..75b8d592 100644 --- a/src/url.js +++ b/src/url.js @@ -46,4 +46,4 @@ export function getPrimeNav(pathname) { return true; } return false; -} +} \ No newline at end of file