Remove isRequired from optional prop (#1843)

lolsob-rspec
Henry Smith 2017-04-15 16:44:28 +02:00 committed by Eugen
parent 5eb3909178
commit 0c2c330596
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const Permalink = React.createClass({
propTypes: {
href: React.PropTypes.string.isRequired,
to: React.PropTypes.string.isRequired,
children: React.PropTypes.node.isRequired
children: React.PropTypes.node
},
handleClick (e) {