mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 06:38:20 +00:00
🔥 Remove stray debug log in frame-preview load-ref callback (#9258)
`(.log js/console "load-ref" iframe-dom)` was left in the iframe ref callback of `frame-preview`. Mirrors the defect PR #9243 removed from `color-row*` — fires on every ref invocation and pollutes the browser console. Signed-off-by: jack-stormentswe <crazycoder131@gmail.com> Signed-off-by: Andrey Antukh <niwi@niwi.nz> Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
d09985edee
commit
8f03b5ed9c
@ -37,7 +37,6 @@
|
||||
load-ref
|
||||
(mf/use-callback
|
||||
(fn [iframe-dom]
|
||||
(.log js/console "load-ref" iframe-dom)
|
||||
(mf/set-ref-val! iframe-ref iframe-dom)
|
||||
(when (and iframe-dom @last-data*)
|
||||
(-> iframe-dom .-contentWindow .-document .open)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user