diff --git a/src/components/views/elements/AppPermission.js b/src/components/views/elements/AppPermission.js index eba49ce116..a101320776 100644 --- a/src/components/views/elements/AppPermission.js +++ b/src/components/views/elements/AppPermission.js @@ -58,6 +58,6 @@ AppPermission.propTypes = { url: PropTypes.string.isRequired, onPermissionGranted: PropTypes.func.isRequired, }; -AppPermission.defaultPropTypes = { +AppPermission.defaultProps = { onPermissionGranted: function() {}, };