mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 20:36:21 +02: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 {}
|
: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…
Add table
Add a link
Reference in a new issue