From 9d2f55ecc3cc6bef9dc79ad8faf444261736976b Mon Sep 17 00:00:00 2001 From: Henry Smith Date: Sat, 15 Apr 2017 16:44:28 +0200 Subject: [PATCH] Remove isRequired from optional prop (#1843) --- app/assets/javascripts/components/components/permalink.jsx | 2 +- 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 index ebfa63cbc2..c39546b533 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) {