fix: Always display "Add comment" button when input has text (#1379)
Closes #1350
This commit is contained in:
@@ -173,7 +173,7 @@ const Add = React.memo(() => {
|
|||||||
/>
|
/>
|
||||||
</MentionsInput>
|
</MentionsInput>
|
||||||
</div>
|
</div>
|
||||||
{isOpened && (
|
{(isOpened || data.text.length > 0) && (
|
||||||
<div className={styles.controls}>
|
<div className={styles.controls}>
|
||||||
<Button
|
<Button
|
||||||
{...clickAwayProps} // eslint-disable-line react/jsx-props-no-spreading
|
{...clickAwayProps} // eslint-disable-line react/jsx-props-no-spreading
|
||||||
|
|||||||
Reference in New Issue
Block a user