Skip to content

Commit

Permalink
Revert "fixed region/initialRegion null overrides of this.props - PR -
Browse files Browse the repository at this point in the history
…react-native-maps#1715"

This reverts commit 8dc13f2.
  • Loading branch information
Max Vasin committed Oct 31, 2017
1 parent 8dc13f2 commit 8bfe7b5
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 @@ -636,9 +636,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 8bfe7b5

Please sign in to comment.