Fix default prop initialisation
This commit is contained in:
parent
6f57fe96f2
commit
6238c1d704
1 changed files with 1 additions and 1 deletions
|
@ -58,6 +58,6 @@ AppPermission.propTypes = {
|
||||||
url: PropTypes.string.isRequired,
|
url: PropTypes.string.isRequired,
|
||||||
onPermissionGranted: PropTypes.func.isRequired,
|
onPermissionGranted: PropTypes.func.isRequired,
|
||||||
};
|
};
|
||||||
AppPermission.defaultPropTypes = {
|
AppPermission.defaultProps = {
|
||||||
onPermissionGranted: function() {},
|
onPermissionGranted: function() {},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue