mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
Initialize some state keys as nil instead of empty hash-map.
This commit is contained in:
parent
f1107432b7
commit
0a2d774b5e
@ -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…
x
Reference in New Issue
Block a user