Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Change component declaration from variable to function

VictorS0a189e7c3429
diff --git a/web/js/components/timeline/mobile-date-picker.js b/web/js/components/timeline/mobile-date-picker.js
index d4286c028..80d2f4c21 100644
--- a/web/js/components/timeline/mobile-date-picker.js
+++ b/web/js/components/timeline/mobile-date-picker.js
@@ -65,7 +65,7 @@ const convertToLocalDateObject = (date) => {
return dateLocal;
};
-const MobileDatePicker = function (props) {
+function MobileDatePicker(props) {
const {
date,
startDateLimit,