fix(plugin): repeat registration key to plugin ui items

This commit is contained in:
charlie
2022-06-16 13:28:11 +08:00
committed by Tienson Qin
parent fe1419a4d2
commit 5b14b6f50f
2 changed files with 6 additions and 4 deletions

View File

@@ -814,7 +814,7 @@
(when-let [^js el (rum/deref *el)]
(js/LSPlugin.pluginHelpers.setupInjectedUI.call
pl #js {:slot (.-id el) :key key :template template} #js {})))
[])
[template])
(if-not (nil? pl)
[:div