Fix default prop initialisation
parent
6f57fe96f2
commit
6238c1d704
|
@ -58,6 +58,6 @@ AppPermission.propTypes = {
|
|||
url: PropTypes.string.isRequired,
|
||||
onPermissionGranted: PropTypes.func.isRequired,
|
||||
};
|
||||
AppPermission.defaultPropTypes = {
|
||||
AppPermission.defaultProps = {
|
||||
onPermissionGranted: function() {},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue