Added unauthorized modal on detail status action buttons

fixes: #52
added isRequired propType on onOpenUnauthorizedModal on normal status
This commit is contained in:
mgabdev
2019-07-22 15:39:45 -04:00
parent 606a6c7f12
commit efb3ac7ac3
2 changed files with 27 additions and 5 deletions

View File

@@ -49,6 +49,7 @@ class StatusActionBar extends ImmutablePureComponent {
static propTypes = {
status: ImmutablePropTypes.map.isRequired,
onOpenUnauthorizedModal: PropTypes.func.isRequired,
onReply: PropTypes.func,
onFavourite: PropTypes.func,
onReblog: PropTypes.func,