forked from treehouse/mastodon
javascript: fix dispatch
parent
d23cd8da00
commit
f0065720d6
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -323,6 +323,7 @@ class Status extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
handleQuoteClick = (status) => {
|
||||
const { dispatch } = this.props;
|
||||
const { signedIn } = this.context.identity;
|
||||
|
||||
if (signedIn) {
|
||||
|
|
Loading…
Reference in New Issue