mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 16:48:16 -05:00
🐛 It is possible to create empty component annotation (2)
This commit is contained in:
parent
776159c1e8
commit
1817d4ce38
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
component-id (:component-id values)
|
||||
annotation (:annotation component)
|
||||
editing? (mf/use-state false)
|
||||
invalid-text? (mf/use-state (str/empty? annotation))
|
||||
invalid-text? (mf/use-state (or (nil? annotation)(str/empty? annotation)))
|
||||
size (mf/use-state (count annotation))
|
||||
textarea-ref (mf/use-ref)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue