mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
This commit is contained in:
parent
5d85e3a7c9
commit
4959d342bb
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ export class MarkdownTextArea extends Component<
|
|||
)}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!this.state.content ? true : false}
|
||||
disabled={!this.state.content}
|
||||
className={`btn btn-sm btn-secondary ms-2 ${
|
||||
this.state.previewMode && "active"
|
||||
}`}
|
||||
|
|
Loading…
Reference in a new issue