Interactive interface for browsing global, full-resolution satellite imagery
fix `react/no-string-refs` errors
Jason Kent3491425cdfee
diff --git a/.eslintrc b/.eslintrcindex ebeb69da9..ba7663113 100644--- a/.eslintrc+++ b/.eslintrc@@ -125,14 +125,12 @@"react/sort-comp": "off","react/no-danger": "off","react/no-unused-state": "warn",- // "react/no-access-state-in-setstate": "off",- "react/no-unused-prop-types": "off",+ "react/no-unused-prop-types": "off", //66 errors"react/forbid-prop-types": "off","react/require-default-props": "off","react/destructuring-assignment": "off","react/no-array-index-key": "warn",- "react/no-render-return-value": "warn",- "react/no-string-refs": "warn"+ "react/no-render-return-value": "warn"}}]diff --git a/web/js/components/tour/modal-tour-in-progress.js b/web/js/components/tour/modal-tour-in-progress.jsindex da8109e14..73d6eefac 100644--- a/web/js/components/tour/modal-tour-in-progress.js+++ b/web/js/components/tour/modal-tour-in-progress.js@@ -7,6 +7,7 @@ import Steps from './widget-steps';class ModalInProgress extends React.Component {componentDidUpdate() {+ // eslint-disable-next-line react/no-string-refsif (this.refs.stepContent) this.refs.stepContent.parentNode.scrollTop = 0;}