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/%22https:/nerdica.net/README.ja.md?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