mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
[Glitch] Remove routerHistory parameters from composer actions
Port e768b23aa9 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -442,7 +442,7 @@ class Status extends ImmutablePureComponent {
|
||||
|
||||
handleHotkeyReply = e => {
|
||||
e.preventDefault();
|
||||
this.props.onReply(this.props.status, this.props.history);
|
||||
this.props.onReply(this.props.status);
|
||||
};
|
||||
|
||||
handleHotkeyFavourite = (e) => {
|
||||
@@ -459,7 +459,7 @@ class Status extends ImmutablePureComponent {
|
||||
|
||||
handleHotkeyMention = e => {
|
||||
e.preventDefault();
|
||||
this.props.onMention(this.props.status.get('account'), this.props.history);
|
||||
this.props.onMention(this.props.status.get('account'));
|
||||
};
|
||||
|
||||
handleHotkeyOpen = () => {
|
||||
|
||||
Reference in New Issue
Block a user