Skip to content

Commit

Permalink
Fixed typo this.props.prop -> this.props.props (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
leidegre authored and nfcampos committed May 4, 2016
1 parent 0ed3719 commit 2482e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppContainer.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { Component } = React;
class AppContainer extends Component {
render() {
if (this.props.component) {
return <this.props.component {...this.props.prop} />;
return <this.props.component {...this.props.props} />;
}

return React.Children.only(this.props.children);
Expand Down

0 comments on commit 2482e32

Please sign in to comment.