mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 22:51:37 +02:00
🔥 Remove unused prn's.
This commit is contained in:
parent
5499eb6018
commit
1382e21360
1 changed files with 0 additions and 4 deletions
|
@ -335,7 +335,6 @@
|
||||||
(ptk/reify ::initialize-page
|
(ptk/reify ::initialize-page
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(update [_ state]
|
||||||
;; (prn "initialize-page" page-id)
|
|
||||||
(let [page (get-in state [:pages page-id])
|
(let [page (get-in state [:pages page-id])
|
||||||
data (get-in state [:pages-data page-id])
|
data (get-in state [:pages-data page-id])
|
||||||
local (get-in state [:workspace-cache page-id] workspace-default)]
|
local (get-in state [:workspace-cache page-id] workspace-default)]
|
||||||
|
@ -356,7 +355,6 @@
|
||||||
(ptk/reify ::finalize
|
(ptk/reify ::finalize
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(update [_ state]
|
||||||
;; (prn "finalize-page" page-id)
|
|
||||||
(let [local (:workspace-local state)]
|
(let [local (:workspace-local state)]
|
||||||
(assoc-in state [:workspace-cache page-id] local)))))
|
(assoc-in state [:workspace-cache page-id] local)))))
|
||||||
|
|
||||||
|
@ -409,8 +407,6 @@
|
||||||
|
|
||||||
changes (generate-changes prev curr)
|
changes (generate-changes prev curr)
|
||||||
undo-changes (generate-changes curr prev)]
|
undo-changes (generate-changes curr prev)]
|
||||||
;; (prn "diff-and-commit-changes1" changes)
|
|
||||||
;; (prn "diff-and-commit-changes2" undo-changes)
|
|
||||||
(when-not (empty? changes)
|
(when-not (empty? changes)
|
||||||
(rx/of (commit-changes changes undo-changes)))))))
|
(rx/of (commit-changes changes undo-changes)))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue