0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 00:58:26 -05:00

📎 Remove unused legacy icons preview

This commit is contained in:
Belén Albeza 2024-07-01 14:16:10 +02:00
parent 3b6ed823b9
commit de89dfe27f

View file

@ -285,19 +285,6 @@
"A collection of all 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
[icon-key]
(when icon-key