Skip to content

Commit

Permalink
Apply fix from react-native-maps PR react-native-maps#728
Browse files Browse the repository at this point in the history
  • Loading branch information
athaeryn committed Oct 27, 2016
1 parent 03cc3a3 commit 3c731a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/decorateMapComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function decorateMapComponent(Component, { componentType, provide
if (components[provider]) return components[provider];

if (provider === PROVIDER_DEFAULT) {
components.default = getDefaultComponent();
if (!components.default) components.default = getDefaultComponent();
return components.default;
}

Expand Down

0 comments on commit 3c731a9

Please sign in to comment.