Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[fix] Prevent bottom time widget crash (#895) (#2703)
Igor Dykhtacb705c63efbf
diff --git a/src/components/src/common/time-range-slider.tsx b/src/components/src/common/time-range-slider.tsxindex 0ff73e3ae..22f57b089 100644--- a/src/components/src/common/time-range-slider.tsx+++ b/src/components/src/common/time-range-slider.tsx@@ -74,6 +74,7 @@ TimeRangeSliderFactory.deps = [];export function getTimeBinsForInterval(timeBins, interval) {+ if (!timeBins) return {};return Object.keys(timeBins).reduce((acc, dataId) => {acc[dataId] = timeBins[dataId][interval];return acc;