Fixed lint errors.

This commit is contained in:
orangemug 2019-05-29 18:59:26 +01:00
parent cb6c6e0d9f
commit 24c52074b8
3 changed files with 4 additions and 1 deletions

View file

@ -114,6 +114,7 @@ export default class Toolbar extends React.Component {
onToggleModal: PropTypes.func,
onSetMapState: PropTypes.func,
mapState: PropTypes.string,
renderer: PropTypes.string,
}
state = {

View file

@ -31,6 +31,7 @@ export default class OpenLayersMap extends React.Component {
accessToken: PropTypes.string,
style: PropTypes.object,
onLayerSelect: PropTypes.func.isRequired,
debugToolbox: PropTypes.bool.isRequired,
}
static defaultProps = {
@ -123,7 +124,7 @@ export default class OpenLayersMap extends React.Component {
className="maputnik-popup"
>
<button
class="mapboxgl-popup-close-button"
className="mapboxgl-popup-close-button"
onClick={this.closeOverlay}
aria-label="Close popup"
>

View file

@ -9,6 +9,7 @@ class DebugModal extends React.Component {
isOpen: PropTypes.bool.isRequired,
renderer: PropTypes.string.isRequired,
onChangeMaboxGlDebug: PropTypes.func.isRequired,
onChangeOpenlayersDebug: PropTypes.func.isRequired,
onOpenToggle: PropTypes.func.isRequired,
mapboxGlDebugOptions: PropTypes.object,
openlayersDebugOptions: PropTypes.object,