Explorar el Código

chore(dev): chilly keys warning

charlie hace 1 año
padre
commit
f77a6b42d9

+ 1 - 1
deps/shui/src/logseq/shui/popup/core.cljs

@@ -196,4 +196,4 @@
     [:<>
      (for [config popups
            :when (and (map? config) (:id config))]
-       (x-popup config))]))
+       (rum/with-key (x-popup config) (:id config)))]))

+ 1 - 1
src/main/frontend/components/page.css

@@ -416,7 +416,7 @@ html.is-native-ios {
   }
 
   .ls-new-property {
-    @apply mt-1;
+    @apply mt-[3px];
   }
 
   &.is-collapsed {

+ 1 - 1
src/main/frontend/components/property/value.cljs

@@ -747,7 +747,7 @@
                     (if (seq items)
                       (concat
                        (for [item items]
-                         (select-item property type item opts))
+                         (rum/with-key (select-item property type item opts) (or (:block/uuid item) (str item))))
                        (when date?
                          [(property-value-date-picker block property nil {:toggle-fn toggle-fn})]))
                       (when-not editing?