mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-11 13:33:21 -08: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:
parent
9f05a06dee
commit
95984b729a
18 changed files with 94 additions and 104 deletions
|
|
@ -92,7 +92,7 @@ class Notification extends ImmutablePureComponent {
|
|||
e.preventDefault();
|
||||
|
||||
const { notification, onMention } = this.props;
|
||||
onMention(notification.get('account'), this.props.history);
|
||||
onMention(notification.get('account'));
|
||||
};
|
||||
|
||||
handleHotkeyFavourite = () => {
|
||||
|
|
|
|||
|
|
@ -31,8 +31,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