javascript: fix dispatch

feature/quote
Ariadne Conill 2022-12-26 04:17:21 +00:00
parent d23cd8da00
commit f0065720d6
2 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class ActionBar extends React.PureComponent {
this.props.onBookmark(this.props.status, e);
}
handleQuoteClick = (e) => {
handleQuoteClick = () => {
this.props.onQuote(this.props.status);
}

View File

@ -323,6 +323,7 @@ class Status extends ImmutablePureComponent {
}
handleQuoteClick = (status) => {
const { dispatch } = this.props;
const { signedIn } = this.context.identity;
if (signedIn) {