mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 21:19:49 +00:00
🔥 Remove useless prn's.
This commit is contained in:
parent
689cc5f3e7
commit
2477b289e2
@ -241,7 +241,6 @@
|
|||||||
|
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(update [_ state]
|
||||||
(prn "page-persisted" data)
|
|
||||||
(let [{:keys [id version]} data]
|
(let [{:keys [id version]} data]
|
||||||
(-> state
|
(-> state
|
||||||
(assoc-in [:pages id :version] version)
|
(assoc-in [:pages id :version] version)
|
||||||
@ -263,7 +262,6 @@
|
|||||||
|
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [this state s]
|
(watch [this state s]
|
||||||
(prn "persist-page" id)
|
|
||||||
(let [page (get-in state [:pages id])]
|
(let [page (get-in state [:pages id])]
|
||||||
(if (:history page)
|
(if (:history page)
|
||||||
(rx/empty)
|
(rx/empty)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user