react-mapbox-gl
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -149,3 +149,3 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
if (prevProps.data !== data) { | ||
if (this.props.data !== data) { | ||
source.setData(this.props.data); | ||
@@ -152,0 +152,0 @@ this.source = __assign({ type: 'geojson' }, this.props.sourceOptions, { data: this.props.data }); |
@@ -161,3 +161,3 @@ "use strict"; | ||
} | ||
if (prevProps.data !== data) { | ||
if (this.props.data !== data) { | ||
source.setData(this.props.data); | ||
@@ -164,0 +164,0 @@ this.source = __assign({ type: 'geojson' }, this.props.sourceOptions, { data: this.props.data }); |
{ | ||
"name": "react-mapbox-gl", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "A React binding of mapbox-gl-js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -272,3 +272,3 @@ import * as React from 'react'; | ||
if (prevProps.data !== data) { | ||
if (this.props.data !== data) { | ||
source.setData(this.props.data); | ||
@@ -275,0 +275,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
496179