🐛 Fix remove time debug info

This commit is contained in:
Alejandro Alonso 2022-05-13 12:00:18 +02:00
parent 15418a252e
commit db8e829339

View file

@ -21,7 +21,7 @@
(defn- draw-thumbnail-canvas
[canvas-node img-node]
(time (try
(try
(when (and (some? canvas-node) (some? img-node))
(let [canvas-context (.getContext canvas-node "2d")
canvas-width (.-width canvas-node)
@ -38,7 +38,7 @@
(.toDataURL canvas-node "image/png" 1.0)))
(catch :default err
(.error js/console err)
nil))))
nil)))
(defn use-render-thumbnail
"Hook that will create the thumbnail thata"