Commit 76caf8af authored by Tamlyn Rhodes's avatar Tamlyn Rhodes
Browse files

Validate that children of Authorize should be a single element

parent 7bfffa1b
Pipeline #2929 passed with stage
in 1 minute and 41 seconds
......@@ -50,7 +50,7 @@ Authorize.propTypes = {
currentUser: PropTypes.object,
operation: PropTypes.string,
object: PropTypes.object,
children: PropTypes.node,
children: PropTypes.element,
unauthorized: PropTypes.node,
authsome: PropTypes.object.isRequired,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment