mirror of
https://github.com/penpot/penpot.git
synced 2026-02-26 14:23:40 +00:00
🐛 It is possible to create empty component annotation (2)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user