Commit 31b0c39a authored by Jure's avatar Jure

Merge branch 'validate-authorize-children' into 'master'

Validate that children of Authorize should be a single element

See merge request !125
parents 7bfffa1b 76caf8af
Pipeline #2931 passed with stage
in 1 minute and 40 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