Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

missed a isNan rule bypass

Jason Kenta40d2510bea7
diff --git a/web/js/components/date-selector/input.js b/web/js/components/date-selector/input.js
index bdaa0385b..3b008c0bc 100644
--- a/web/js/components/date-selector/input.js
+++ b/web/js/components/date-selector/input.js
@@ -167,6 +167,7 @@ class DateInputColumn extends Component {
monthValidation = (input) => {
const date = new Date(this.props.date);
let newDate;
+ // eslint-disable-next-line no-restricted-globals
if (!isNaN(input) && input < 13 && input > 0) {
newDate = new Date(date.setUTCMonth(input - 1));
if (newDate) {