Remove routerHistory parameters from composer actions (#31077)
This commit is contained in:
parent
adadfdbc03
commit
e768b23aa9
18 changed files with 91 additions and 100 deletions
|
@ -101,7 +101,7 @@ class Notification extends ImmutablePureComponent {
|
|||
e.preventDefault();
|
||||
|
||||
const { notification, onMention } = this.props;
|
||||
onMention(notification.get('account'), this.props.history);
|
||||
onMention(notification.get('account'));
|
||||
};
|
||||
|
||||
handleHotkeyFavourite = () => {
|
||||
|
|
|
@ -34,8 +34,8 @@ const makeMapStateToProps = () => {
|
|||
};
|
||||
|
||||
const mapDispatchToProps = dispatch => ({
|
||||
onMention: (account, router) => {
|
||||
dispatch(mentionCompose(account, router));
|
||||
onMention: (account) => {
|
||||
dispatch(mentionCompose(account));
|
||||
},
|
||||
|
||||
onModalReblog (status, privacy) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue