From: Jay Sitter Date: Sat, 24 Jun 2023 04:38:17 +0000 (-0400) Subject: fix: Clarify a comment X-Git-Url: http://these/git/readmes/%7BpictrsAvatarThumbnail%28this.props.site.site.icon%29%7D?a=commitdiff_plain;h=a9e6b47ad8eea72ea8e77473d167db668c7e94be;p=lemmy-ui.git fix: Clarify a comment --- diff --git a/src/shared/components/common/markdown-textarea.tsx b/src/shared/components/common/markdown-textarea.tsx index af3a4df..f83843e 100644 --- a/src/shared/components/common/markdown-textarea.tsx +++ b/src/shared/components/common/markdown-textarea.tsx @@ -35,7 +35,8 @@ interface MarkdownTextAreaProps { buttonTitle?: string; maxLength?: number; /** - * Whether this form is for a reply to a Private Message + * Whether this form is for a reply to a Private Message. + * If true, a "Cancel" button is shown that will close the reply. */ replyType?: boolean; focus?: boolean; @@ -297,7 +298,7 @@ export class MarkdownTextArea extends Component< type="button" disabled={!this.state.content} className={classNames("btn btn-sm btn-secondary ms-2", { - active: this.state.previewMode + active: this.state.previewMode, })} onClick={linkEvent(this, this.handlePreviewToggle)} >