Fix render prop of replyBarStyle (#1959)
This commit is contained in:
parent
1a822ee547
commit
1783bf9731
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue