From 6238c1d704a5a7807189bf2532eb84209721921a Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Fri, 28 Jul 2017 16:23:38 +0100 Subject: [PATCH] Fix default prop initialisation --- src/components/views/elements/AppPermission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {}, };