🔥 Remove useless prn's.

This commit is contained in:
Andrey Antukh 2019-09-02 20:50:38 +02:00
parent 689cc5f3e7
commit 2477b289e2

View file

@ -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)