th: javascript: fix dispatch
parent
ea8f9b13db
commit
b7066c6bcd
|
@ -83,7 +83,7 @@ class ActionBar extends React.PureComponent {
|
||||||
this.props.onBookmark(this.props.status, e);
|
this.props.onBookmark(this.props.status, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
handleQuoteClick = (e) => {
|
handleQuoteClick = () => {
|
||||||
this.props.onQuote(this.props.status);
|
this.props.onQuote(this.props.status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,6 +323,7 @@ class Status extends ImmutablePureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleQuoteClick = (status) => {
|
handleQuoteClick = (status) => {
|
||||||
|
const { dispatch } = this.props;
|
||||||
const { signedIn } = this.context.identity;
|
const { signedIn } = this.context.identity;
|
||||||
|
|
||||||
if (signedIn) {
|
if (signedIn) {
|
||||||
|
|
Loading…
Reference in New Issue