mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 23:19:28 +00:00
Cosmetic fixe on project state functions.
This commit is contained in:
parent
b16bea31f9
commit
1d060d1a50
@ -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…
x
Reference in New Issue
Block a user