th: javascript: fix dispatch

lolsob-rspec
Ariadne Conill 2022-12-26 04:17:21 +00:00
parent ea8f9b13db
commit b7066c6bcd
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) {