From: Jay Sitter Date: Sat, 24 Jun 2023 20:23:21 +0000 (-0400) Subject: fix: Fix incorrect function reference X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/hacktivis.me/%7BdocsUrl%7D?a=commitdiff_plain;h=2978e18a28f43153e2b2186ec9e54829620bbb44;p=lemmy-ui.git fix: Fix incorrect function reference --- diff --git a/src/shared/components/private_message/private-message-form.tsx b/src/shared/components/private_message/private-message-form.tsx index 147269a..dbd2998 100644 --- a/src/shared/components/private_message/private-message-form.tsx +++ b/src/shared/components/private_message/private-message-form.tsx @@ -114,7 +114,7 @@ export class PrivateMessageForm extends Component< allLanguages={[]} siteLanguages={[]} hideNavigationWarnings - onReplyCancel={() => handleCancel()} + onReplyCancel={() => this.handleCancel(this)} replyType={this.props.replyType} buttonTitle={ this.props.privateMessageView