Skip to content

Commit

Permalink
fixed region/initialRegion null overrides of this.props react-native-…
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchanan committed Oct 20, 2017
1 parent 130b2b0 commit 8bb5c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/MapView.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ class MapView extends React.Component {

if (this.state.isReady) {
props = {
...this.props,
region: null,
initialRegion: null,
...this.props,
onChange: this._onChange,
onMapReady: this._onMapReady,
onLayout: this._onLayout,
Expand Down

0 comments on commit 8bb5c07

Please sign in to comment.