mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 00:01:15 +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="col-12">
|
||||||
<div className="rounded bg-light border">
|
<div className="rounded bg-light border">
|
||||||
<div
|
<div
|
||||||
className={`d-flex flex-wrap border-bottom ${
|
className={classNames("d-flex flex-wrap border-bottom", {
|
||||||
this.isDisabled ? "no-click" : ""
|
"no-click": this.isDisabled,
|
||||||
}`}
|
})}
|
||||||
>
|
>
|
||||||
{this.getFormatButton("bold", this.handleInsertBold)}
|
{this.getFormatButton("bold", this.handleInsertBold)}
|
||||||
{this.getFormatButton("italic", this.handleInsertItalic)}
|
{this.getFormatButton("italic", this.handleInsertItalic)}
|
||||||
|
|
Loading…
Reference in a new issue