Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Jun 4, 2019
1 parent d9de39a commit f424790
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mapbox/mapbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
/* global window, process, HTMLCanvasElement */
import PropTypes from 'prop-types';
import {document} from '../utils/globals';
import {normalizeStyle} from '../utils/style-utils';

function noop() {}

Expand Down Expand Up @@ -271,7 +270,7 @@ export default class Mapbox {

// Step3: update style and call onload again
if (props.mapStyle) {
this._map.setStyle(normalizeStyle(props.mapStyle), {
this._map.setStyle(props.mapStyle, {
diff: false
});
}
Expand Down

0 comments on commit f424790

Please sign in to comment.