🐛 Fix incorrect react vdom on font-selector component

This commit is contained in:
Andrey Antukh 2023-09-13 16:34:27 +02:00
parent 954e5303f0
commit 56aa751425

View file

@ -225,8 +225,8 @@
:spell-check false :spell-check false
:on-change on-filter-change}] :on-change on-filter-change}]
(when (and recent-fonts show-recent) (when (and recent-fonts show-recent)
[:hr] [:*
[* [:hr]
[:p.title (tr "workspace.options.recent-fonts")] [:p.title (tr "workspace.options.recent-fonts")]
(for [[idx font] (d/enumerate recent-fonts)] (for [[idx font] (d/enumerate recent-fonts)]
[:& font-item {:key (dm/str "font-" idx) [:& font-item {:key (dm/str "font-" idx)