commit: 9d2f55ecc3cc6bef9dc79ad8faf444261736976b
parent: b7ec2fd4924dc186acc9205044d1539f1e267e0e
Author: Henry Smith <henry@henrysmith.org>
Date: Sat, 15 Apr 2017 16:44:28 +0200
Remove isRequired from optional prop (#1843)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/assets/javascripts/components/components/permalink.jsx b/app/assets/javascripts/components/components/permalink.jsx
@@ -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) {