diff --git a/app/javascript/flavours/glitch/features/status/components/action_bar.js b/app/javascript/flavours/glitch/features/status/components/action_bar.js index dd27599df9..c0aae505a4 100644 --- a/app/javascript/flavours/glitch/features/status/components/action_bar.js +++ b/app/javascript/flavours/glitch/features/status/components/action_bar.js @@ -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); } diff --git a/app/javascript/flavours/glitch/features/status/index.js b/app/javascript/flavours/glitch/features/status/index.js index 1e9cafa241..28023b6079 100644 --- a/app/javascript/flavours/glitch/features/status/index.js +++ b/app/javascript/flavours/glitch/features/status/index.js @@ -323,6 +323,7 @@ class Status extends ImmutablePureComponent { } handleQuoteClick = (status) => { + const { dispatch } = this.props; const { signedIn } = this.context.identity; if (signedIn) {