Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

lint fixes

ryanweiler9270eda3532b0b
diff --git a/web/js/mapUI/components/kiosk/tile-measurement/tile-measurement.js b/web/js/mapUI/components/kiosk/tile-measurement/tile-measurement.js
index dea4365b4..770d486d0 100644
--- a/web/js/mapUI/components/kiosk/tile-measurement/tile-measurement.js
+++ b/web/js/mapUI/components/kiosk/tile-measurement/tile-measurement.js
@@ -220,10 +220,10 @@ function TileMeasurement({ ui }) {
// If we are using the best date, we need to make sure there are tiles on the map so we include the abort prodcedure parameter
// This allows us to fall back to the static map if the best date fails as a last resort
const bestDate = findBestDate(measurementLayers, bestDates);
- if (!fullImageryDate || bestDate === fullImageryDate){
+ if (!fullImageryDate || bestDate === fullImageryDate) {
updateDate(bestDate, layerPeriod);
verifyTilesAndHandleErrors();
- return
+ return;
}
// Format date based on period and dispatch redux action