Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix `react/button-has-type` error

Jason Kent1e2c80150c0e
diff --git a/web/js/components/util/button.js b/web/js/components/util/button.js
index dbda7d075..488b370ee 100644
--- a/web/js/components/util/button.js
+++ b/web/js/components/util/button.js
@@ -9,6 +9,7 @@ export default class Button extends React.Component {
render() {
return (
<button
+ type="button"
onClick={this.props.onClick}
onMouseDown={(e) => e.stopPropagation()}
style={this.props.style}