mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -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)
|
coll-id (:collection-id dashboard)
|
||||||
own? (= coll-type :own)
|
own? (= coll-type :own)
|
||||||
coll (get library/+icon-collections-by-id+ coll-id)]
|
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
|
(when coll
|
||||||
(html
|
(html
|
||||||
[:section.dashboard-grid.library
|
[:section.dashboard-grid.library
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
(defn aside-render
|
(defn aside-render
|
||||||
[own]
|
[own]
|
||||||
(println "aside-render")
|
|
||||||
(let [toolboxes (rum/react wb/toolboxes-l)]
|
(let [toolboxes (rum/react wb/toolboxes-l)]
|
||||||
(html
|
(html
|
||||||
[:aside#settings-bar.settings-bar
|
[:aside#settings-bar.settings-bar
|
||||||
|
|
|
@ -89,7 +89,6 @@
|
||||||
|
|
||||||
(defn- layer-element-render
|
(defn- layer-element-render
|
||||||
[own item selected]
|
[own item selected]
|
||||||
(println "layer-element-render" (:id item))
|
|
||||||
(let [selected? (contains? selected (:id item))]
|
(let [selected? (contains? selected (:id item))]
|
||||||
(html
|
(html
|
||||||
[:li {:key (str (:id item))}
|
[:li {:key (str (:id item))}
|
||||||
|
@ -204,7 +203,6 @@
|
||||||
|
|
||||||
(defn icons-render
|
(defn icons-render
|
||||||
[own]
|
[own]
|
||||||
(println "icons-render")
|
|
||||||
(let [local (:rum/local own)
|
(let [local (:rum/local own)
|
||||||
drawing (rum/react drawing-shape)
|
drawing (rum/react drawing-shape)
|
||||||
collid (:collid @local)
|
collid (:collid @local)
|
||||||
|
|
Loading…
Add table
Reference in a new issue