diff --git a/web/client/plugins/GridContainer.jsx b/web/client/plugins/GridContainer.jsx index 88d5e9a4ec..ae983b4b9d 100644 --- a/web/client/plugins/GridContainer.jsx +++ b/web/client/plugins/GridContainer.jsx @@ -51,7 +51,7 @@ const GridContainer = React.createClass({ className={this.props.className} mapType={this.props.mapType} container={(props) => ( - {props.children.map( item => {item})} + {props.children.map( (item, idx) => {item})} )} toolStyle="primary" activeStyle="default" diff --git a/web/client/plugins/ScrollTop.jsx b/web/client/plugins/ScrollTop.jsx index 7e17262045..e1dbba57ff 100644 --- a/web/client/plugins/ScrollTop.jsx +++ b/web/client/plugins/ScrollTop.jsx @@ -45,7 +45,7 @@ const ScrollTop = React.createClass({ render() { return ( - }> + }> );