Fix default prop initialisation

This commit is contained in:
Richard Lewis 2017-07-28 16:23:38 +01:00
parent 6f57fe96f2
commit 6238c1d704

View file

@ -58,6 +58,6 @@ AppPermission.propTypes = {
url: PropTypes.string.isRequired,
onPermissionGranted: PropTypes.func.isRequired,
};
AppPermission.defaultPropTypes = {
AppPermission.defaultProps = {
onPermissionGranted: function() {},
};