mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
Add preconditions to the workspace initialization event.
This commit is contained in:
parent
7958c33e34
commit
6e7a20974d
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@
|
|||
(defn initialize
|
||||
"Initialize the workspace state."
|
||||
[project page]
|
||||
{:pre [(uuid? project)
|
||||
(uuid? page)]}
|
||||
(InitializeWorkspace. project page))
|
||||
|
||||
;; --- Workspace Tooltips
|
||||
|
|
Loading…
Add table
Reference in a new issue