mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +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 {}
|
:undo {}
|
||||||
:profile nil
|
:profile nil
|
||||||
:workspace nil
|
:workspace nil
|
||||||
:shapes-by-id {}
|
:shapes-by-id nil
|
||||||
:elements-by-id {}
|
:elements-by-id nil
|
||||||
:colors-by-id {}
|
:colors-by-id nil
|
||||||
:icons-by-id {}
|
:icons-by-id nil
|
||||||
:projects-by-id {}
|
:projects-by-id nil
|
||||||
:pages-by-id {}})
|
:pages-by-id nil})
|
||||||
|
|
||||||
(defn init
|
(defn init
|
||||||
"Initialize the state materialization."
|
"Initialize the state materialization."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user