mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
Remove useless code.
This commit is contained in:
parent
809ac8cbc7
commit
fb3457c6fd
3 changed files with 0 additions and 9 deletions
|
@ -104,12 +104,6 @@
|
|||
coll-id (:collection-id dashboard)
|
||||
own? (= coll-type :own)
|
||||
coll (get library/+icon-collections-by-id+ coll-id)]
|
||||
;; coll (case coll-type
|
||||
;; :builtin (get library/+color-collections-by-id+ coll-id)
|
||||
;; :own (rum/react collection-l))]
|
||||
;; edit-cb #(lightbox/open! :icon-form {:coll coll :icon %})
|
||||
;; remove-cb #(rs/emit! (dd/remove-icon {:id (:id coll) :icon %}))]
|
||||
;; (println "KAKAKKA" coll-type coll-id coll)
|
||||
(when coll
|
||||
(html
|
||||
[:section.dashboard-grid.library
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
(defn aside-render
|
||||
[own]
|
||||
(println "aside-render")
|
||||
(let [toolboxes (rum/react wb/toolboxes-l)]
|
||||
(html
|
||||
[:aside#settings-bar.settings-bar
|
||||
|
|
|
@ -89,7 +89,6 @@
|
|||
|
||||
(defn- layer-element-render
|
||||
[own item selected]
|
||||
(println "layer-element-render" (:id item))
|
||||
(let [selected? (contains? selected (:id item))]
|
||||
(html
|
||||
[:li {:key (str (:id item))}
|
||||
|
@ -204,7 +203,6 @@
|
|||
|
||||
(defn icons-render
|
||||
[own]
|
||||
(println "icons-render")
|
||||
(let [local (:rum/local own)
|
||||
drawing (rum/react drawing-shape)
|
||||
collid (:collid @local)
|
||||
|
|
Loading…
Add table
Reference in a new issue