mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 03:51:21 -05:00
Initialize some state keys as nil instead of empty hash-map.
This commit is contained in:
parent
f1107432b7
commit
0a2d774b5e
1 changed files with 6 additions and 6 deletions
|
@ -33,12 +33,12 @@
|
|||
:undo {}
|
||||
:profile nil
|
||||
:workspace nil
|
||||
:shapes-by-id {}
|
||||
:elements-by-id {}
|
||||
:colors-by-id {}
|
||||
:icons-by-id {}
|
||||
:projects-by-id {}
|
||||
:pages-by-id {}})
|
||||
:shapes-by-id nil
|
||||
:elements-by-id nil
|
||||
:colors-by-id nil
|
||||
:icons-by-id nil
|
||||
:projects-by-id nil
|
||||
:pages-by-id nil})
|
||||
|
||||
(defn init
|
||||
"Initialize the state materialization."
|
||||
|
|
Loading…
Add table
Reference in a new issue