0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Cosmetic fixe on project state functions.

This commit is contained in:
Andrey Antukh 2016-07-09 15:03:41 +03:00
parent b16bea31f9
commit 1d060d1a50
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -56,7 +56,7 @@
(assoc :shapes shapes))]
(-> state
(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
"Remove page and all related stuff from the state."