mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-25 08:13:24 +00:00
Remove isRequired from optional prop (#1843)
This commit is contained in:
parent
b7ec2fd492
commit
9d2f55ecc3
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue