From 1783bf97319e1f3f1c21f01e018dd2dbe1027331 Mon Sep 17 00:00:00 2001 From: Sudheer Date: Wed, 1 Aug 2018 22:34:36 +0530 Subject: [PATCH] Fix render prop of replyBarStyle (#1959) --- app/components/post_body/post_body.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/post_body/post_body.js b/app/components/post_body/post_body.js index 9666be7ea..e479ef143 100644 --- a/app/components/post_body/post_body.js +++ b/app/components/post_body/post_body.js @@ -69,7 +69,7 @@ export default class PostBody extends PureComponent { postId: PropTypes.string.isRequired, postProps: PropTypes.object, postType: PropTypes.string, - replyBarStyle: PropTypes.func, + replyBarStyle: PropTypes.array, showAddReaction: PropTypes.bool, showLongPost: PropTypes.bool.isRequired, theme: PropTypes.object, @@ -85,7 +85,7 @@ export default class PostBody extends PureComponent { onPostDelete: emptyFunction, onPostEdit: emptyFunction, onPress: emptyFunction, - replyBarStyle: emptyFunction, + replyBarStyle: [], toggleSelected: emptyFunction, };