about summary refs log tree commit diff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorHenry Smith <henry@henrysmith.org>2017-04-15 16:44:28 +0200
committerEugen <eugen@zeonfederated.com>2017-04-15 16:44:28 +0200
commit9d2f55ecc3cc6bef9dc79ad8faf444261736976b (patch)
tree0ab50f222c27f65dd9f503aaec11e448a81d9202 /app/assets/javascripts
parentb7ec2fd4924dc186acc9205044d1539f1e267e0e (diff)
Remove isRequired from optional prop (#1843)
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/components/components/permalink.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/permalink.jsx b/app/assets/javascripts/components/components/permalink.jsx
index ebfa63cbc..c39546b53 100644
--- 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) {