Skip to content

Commit

Permalink
Merge pull request #1651 from LemmyNet/chore/use-classnames-instead
Browse files Browse the repository at this point in the history
Use `classNames` in #1650
  • Loading branch information
SleeplessOne1917 authored Jun 27, 2023
2 parents 0c37502 + 746b52f commit 06b0151
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/components/common/markdown-textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 06b0151

Please sign in to comment.