]> Untitled Git - lemmy-ui.git/commitdiff
add @jsit advice
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Tue, 27 Jun 2023 17:41:31 +0000 (13:41 -0400)
committerAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Tue, 27 Jun 2023 17:41:31 +0000 (13:41 -0400)
src/shared/components/common/markdown-textarea.tsx

index 3f5b6e1e9f62699f3fb0ad59dafb8c976a1ebb45..2dd1b84aec58298b80578d6a0a637efc16d54194 100644 (file)
@@ -160,9 +160,9 @@ export class MarkdownTextArea extends Component<
           <div className="col-12">
             <div className="rounded bg-light border">
               <div
-                className={`d-flex flex-wrap border-bottom ${
-                  this.isDisabled ? "no-click" : ""
-                }`}
+                className={classNames("d-flex flex-wrap border-bottom", {
+                  "no-click": this.isDisabled,
+                })}
               >
                 {this.getFormatButton("bold", this.handleInsertBold)}
                 {this.getFormatButton("italic", this.handleInsertItalic)}