mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-26 10:46:14 +00:00
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
This commit is contained in:
parent
4959d342bb
commit
d735369db0
|
@ -296,9 +296,9 @@ export class MarkdownTextArea extends Component<
|
|||
<button
|
||||
type="button"
|
||||
disabled={!this.state.content}
|
||||
className={`btn btn-sm btn-secondary ms-2 ${
|
||||
this.state.previewMode && "active"
|
||||
}`}
|
||||
className={classNames("btn btn-sm btn-secondary ms-2", {
|
||||
active: this.state.previewMode
|
||||
})}
|
||||
onClick={linkEvent(this, this.handlePreviewToggle)}
|
||||
>
|
||||
{this.state.previewMode
|
||||
|
|
Loading…
Reference in a new issue