mirror of
https://github.com/penpot/penpot.git
synced 2025-07-15 21:05:19 +02:00
📎 Add documentation assert on add-flow event impl
This commit is contained in:
parent
72937ba091
commit
cc9546dd1b
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@
|
||||||
|
|
||||||
(defn add-flow
|
(defn add-flow
|
||||||
[starting-frame]
|
[starting-frame]
|
||||||
|
|
||||||
|
(dm/assert!
|
||||||
|
"expect uuid"
|
||||||
|
(uuid? starting-frame))
|
||||||
|
|
||||||
(ptk/reify ::add-flow
|
(ptk/reify ::add-flow
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [it state _]
|
(watch [it state _]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue