Skip to content

Commit

Permalink
use arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Sep 5, 2018
1 parent 3abba9f commit 82a1039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/visualizations/MapBox/MapBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class MapBox extends React.Component {
compositeOperation={'screen'}
renderWhileDragging={renderWhileDragging}
aggregatorName={aggregatorName}
lngLatAccessor={function (location) {
lngLatAccessor={location => {
const coordinates = location.get('geometry').get('coordinates');
return [coordinates.get(0), coordinates.get(1)];
}}
Expand Down

0 comments on commit 82a1039

Please sign in to comment.