mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 17:21:17 -05:00
✨ Removed some logs
This commit is contained in:
parent
d2229f43c7
commit
8d9e772dca
1 changed files with 0 additions and 2 deletions
|
@ -32,7 +32,6 @@
|
|||
children]]))
|
||||
|
||||
(mf/defc layout-options [{:keys [layout default-layout-params on-change on-remove]}]
|
||||
(prn "(render) layout" layout)
|
||||
(let [state (mf/use-state {:show-advanced-options false
|
||||
:changes {}})
|
||||
{:keys [type display params] :as layout} (d/deep-merge layout (:changes @state))
|
||||
|
@ -45,7 +44,6 @@
|
|||
|
||||
emit-changes! (fn [update-fn]
|
||||
(swap! state update :changes update-fn)
|
||||
(prn "(event) layout" (d/deep-merge layout (-> @state :changes update-fn)))
|
||||
(when on-change (on-change (d/deep-merge layout (-> @state :changes update-fn)))))
|
||||
|
||||
handle-toggle-visibility (fn [event]
|
||||
|
|
Loading…
Add table
Reference in a new issue