mirror of
https://github.com/penpot/penpot.git
synced 2026-05-01 06:08:09 +00:00
🐛 Fix empty reply comments
This commit is contained in:
parent
9a60ac477f
commit
955bf0ef9e
@ -214,7 +214,11 @@
|
||||
:select-on-focus true
|
||||
:on-change on-change}]
|
||||
[:div.buttons
|
||||
[:input.btn-primary {:type "button" :value "Post" :on-click on-submit*}]
|
||||
[:input.btn-primary {:type "button"
|
||||
:value "Post"
|
||||
:on-click on-submit*
|
||||
:disabled (or (fm/all-spaces? @content)
|
||||
(str/empty-or-nil? @content))}]
|
||||
[:input.btn-secondary {:type "button" :value "Cancel" :on-click on-cancel}]]]))
|
||||
|
||||
(mf/defc comment-item
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user