Skip to content

Commit

Permalink
Return null if this.props.children is undefined (#5278)
Browse files Browse the repository at this point in the history
Solves a problem similar to #4818 related to `DeepLinking`
  • Loading branch information
seekshiva authored and timdorr committed Jun 23, 2017
1 parent 6648a2f commit d0d3cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-router-native/DeepLinking.js
Expand Up @@ -34,7 +34,7 @@ class DeepLinking extends Component {
}

render() {
return this.props.children
return this.props.children || null;
}
}

Expand Down

0 comments on commit d0d3cb7

Please sign in to comment.