From 5109833c4277277cd8236ea3ce8dc19cd99f9bef Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Fri, 11 Nov 2016 13:55:32 +0000 Subject: [PATCH] Use correct prop types --- src/components/views/avatars/MemberAvatar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/avatars/MemberAvatar.js b/src/components/views/avatars/MemberAvatar.js index 7f9630d416..161c37ef55 100644 --- a/src/components/views/avatars/MemberAvatar.js +++ b/src/components/views/avatars/MemberAvatar.js @@ -30,9 +30,9 @@ module.exports = React.createClass({ height: React.PropTypes.number, resizeMethod: React.PropTypes.string, // The onClick to give the avatar - onClick: React.PropTypes.function, + onClick: React.PropTypes.func, // Whether the onClick of the avatar should be overriden to dispatch 'view_user' - viewUserOnClick: React.PropTypes.boolean, + viewUserOnClick: React.PropTypes.bool, }, getDefaultProps: function() {