mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
Merge pull request #1651 from LemmyNet/chore/use-classnames-instead
Use `classNames` in #1650
This commit is contained in:
commit
06b0151621
1 changed files with 3 additions and 3 deletions
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue