fix: move key

This commit is contained in:
Yue Yang
2022-05-26 11:14:29 +08:00
committed by Tienson Qin
parent 6860dcb4f8
commit a6f8584fac

View File

@@ -81,10 +81,10 @@
group-first? (:group-first opt)
plg (get (:plugin/installed-plugins @state/state) (keyword (:pid opt)))]
[:div
{:key (str idx (:name opt))}
(when (and group-first? (not= idx 0)) [:hr.my-2])
[:div.it.flex.px-3.py-1.5.rounded-sm.justify-between
{:key (str idx (:url opt))
:title (:description opt)
{:title (:description opt)
:class (util/classnames
[{:is-selected current-selected?
:is-active (= idx @*cursor)}])