0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

sort tokens by insert order

This commit is contained in:
Akshay Gupta 2024-05-20 22:25:46 +05:30
parent 162e7b6c58
commit 344a27602b

View file

@ -101,7 +101,7 @@
(when open?
[:& cmm/asset-section-block {:role :content}
[:div {:class (stl/css :token-pills-wrapper)}
(for [token tokens]
(for [token (sort-by :modified-at tokens)]
[:& token-pill
{:key (:id token)
:token token