1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-25 14:59:20 +00:00

Remove isRequired from optional prop (#1843)

This commit is contained in:
Henry Smith 2017-04-15 16:44:28 +02:00 committed by Eugen
parent b7ec2fd492
commit 9d2f55ecc3

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) {