add initial components based off of tootsuite pr #1507

This commit is contained in:
cwm
2017-12-09 10:26:22 -06:00
parent 776867ea73
commit abe95b614b
13 changed files with 130 additions and 17 deletions

View File

@ -58,6 +58,7 @@ export default class Status extends ImmutablePureComponent {
'settings',
'prepend',
'boostModal',
'favouriteModal',
'muted',
'collapse',
'notification',
@ -204,8 +205,8 @@ export default class Status extends ImmutablePureComponent {
this.props.onReply(this.props.status, this.context.router.history);
}
handleHotkeyFavourite = () => {
this.props.onFavourite(this.props.status);
handleHotkeyFavourite = e => {
this.props.onFavourite(this.props.status, e);
}
handleHotkeyBoost = e => {