mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
📎 Remove unused legacy icons preview
This commit is contained in:
parent
3b6ed823b9
commit
de89dfe27f
@ -285,19 +285,6 @@
|
|||||||
"A collection of all icons"
|
"A collection of all icons"
|
||||||
(collect-icons))
|
(collect-icons))
|
||||||
|
|
||||||
(mf/defc debug-icons-preview
|
|
||||||
{::mf/wrap-props false}
|
|
||||||
[]
|
|
||||||
(let [entries (->> (seq (js/Object.entries default))
|
|
||||||
(sort-by first))]
|
|
||||||
[:section.debug-icons-preview
|
|
||||||
[:h2 "icons"]
|
|
||||||
(for [[key val] entries]
|
|
||||||
[:div.icon-item-old {:key key
|
|
||||||
:title key}
|
|
||||||
val
|
|
||||||
[:span key]])]))
|
|
||||||
|
|
||||||
(defn key->icon
|
(defn key->icon
|
||||||
[icon-key]
|
[icon-key]
|
||||||
(when icon-key
|
(when icon-key
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user