Remove isRequired from optional prop (#1843)
parent
b7ec2fd492
commit
9d2f55ecc3
|
@ -7,7 +7,7 @@ const Permalink = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
href: React.PropTypes.string.isRequired,
|
href: React.PropTypes.string.isRequired,
|
||||||
to: React.PropTypes.string.isRequired,
|
to: React.PropTypes.string.isRequired,
|
||||||
children: React.PropTypes.node.isRequired
|
children: React.PropTypes.node
|
||||||
},
|
},
|
||||||
|
|
||||||
handleClick (e) {
|
handleClick (e) {
|
||||||
|
|
Reference in New Issue