mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 08:38:15 -05:00
Cosmetic fixe on project state functions.
This commit is contained in:
parent
b16bea31f9
commit
1d060d1a50
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
(assoc :shapes shapes))]
|
(assoc :shapes shapes))]
|
||||||
(-> state
|
(-> state
|
||||||
(update :shapes-by-id merge shapes-by-id)
|
(update :shapes-by-id merge shapes-by-id)
|
||||||
(update-in [:pages-by-id] assoc (:id page) page))))
|
(update :pages-by-id assoc (:id page) page))))
|
||||||
|
|
||||||
(defn purge-page
|
(defn purge-page
|
||||||
"Remove page and all related stuff from the state."
|
"Remove page and all related stuff from the state."
|
||||||
|
|
Loading…
Add table
Reference in a new issue