0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-05 20:31:20 -05:00

🐛 Remove unnecesary console.log

This commit is contained in:
Alejandro Alonso 2025-03-05 11:24:04 +01:00 committed by Alonso Torres
parent 06f6a49bce
commit 0a6e884584

View file

@ -220,10 +220,7 @@
(rx/of nil nil)
(rx/create
(fn [subs]
(let [key (e/listen history "navigate"
(fn [o]
(.log js/console ">" o)
(rx/push! subs (.-token ^js o))))]
(let [key (e/listen history "navigate" (fn [o] (rx/push! subs (.-token ^js o))))]
(fn []
(bhistory/disable! history)
(e/unlistenByKey key))))))