Skip to content

Commit

Permalink
Merge pull request #1130 from dreid/patch-1
Browse files Browse the repository at this point in the history
{Doc} fix indentation in no-unused-prop-types example
  • Loading branch information
ljharb committed Mar 31, 2017
2 parents 9a5303d + f35c03c commit 7111a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-unused-prop-types.md
Expand Up @@ -20,7 +20,7 @@ var Hello = React.createClass({
propTypes: {
firstname: React.PropTypes.string.isRequired,
middlename: React.PropTypes.string.isRequired, // middlename is never used below
lastname: React.PropTypes.string.isRequired
lastname: React.PropTypes.string.isRequired
},
render: function() {
return <div>Hello {this.props.firstname} {this.props.lastname}</div>;
Expand Down

0 comments on commit 7111a70

Please sign in to comment.