0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

🐛 Fix delete component annotation

This commit is contained in:
Pablo Alba 2023-06-22 11:36:31 +02:00 committed by Andrés Moya
parent 54cee6ea72
commit 45e76bc38b

View file

@ -2174,7 +2174,7 @@
"Update the component with the given annotation"
[id annotation]
(dm/assert! (uuid? id))
(dm/assert! (string? annotation))
(dm/assert! (or (nil? annotation) (string? annotation)))
(ptk/reify ::update-component-annotation
ptk/WatchEvent
(watch [it state _]