From 2978e18a28f43153e2b2186ec9e54829620bbb44 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sat, 24 Jun 2023 16:23:21 -0400 Subject: [PATCH] fix: Fix incorrect function reference --- src/shared/components/private_message/private-message-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/private_message/private-message-form.tsx b/src/shared/components/private_message/private-message-form.tsx index 147269a5..dbd29983 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