fix: Fix incorrect function reference

This commit is contained in:
Jay Sitter 2023-06-24 16:23:21 -04:00
parent 2a5988e0ff
commit 2978e18a28

View file

@ -114,7 +114,7 @@ export class PrivateMessageForm extends Component<
allLanguages={[]} allLanguages={[]}
siteLanguages={[]} siteLanguages={[]}
hideNavigationWarnings hideNavigationWarnings
onReplyCancel={() => handleCancel()} onReplyCancel={() => this.handleCancel(this)}
replyType={this.props.replyType} replyType={this.props.replyType}
buttonTitle={ buttonTitle={
this.props.privateMessageView this.props.privateMessageView