Skip to content

Commit

Permalink
minor typos and other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Jul 28, 2017
1 parent d193db5 commit f6ac6f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions web/client/components/data/featuregrid/FeatureGrid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class FeatureGrid extends React.PureComponent {
gridEvents: PropTypes.object
};
static childContextTypes = {
isModified: React.PropTypes.func,
isValid: React.PropTypes.func,
isProperty: React.PropTypes.func
isModified: PropTypes.func,
isValid: PropTypes.func,
isProperty: PropTypes.func
};
static defaultProps = {
gridComponent: AdaptiveGrid,
Expand Down
2 changes: 1 addition & 1 deletion web/client/components/map/leaflet/DrawSupport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class DrawSupport extends React.Component {
}
});
this.props.map.addLayer(vector);
// Immediatly draw passed features
// Immediately draw passed features
if (newProps.features && newProps.features.length > 0) {
vector.addData(this.convertFeaturesPolygonToPoint(newProps.features, this.props.drawMethod));
}
Expand Down

0 comments on commit f6ac6f2

Please sign in to comment.