fix: move key

pull/5447/head
Yue Yang 2022-05-26 11:14:29 +08:00 committed by Tienson Qin
parent 6860dcb4f8
commit a6f8584fac
1 changed files with 2 additions and 2 deletions

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)}])