Ver código fonte

fix: revert a incorrect change

Peng Xiao 2 anos atrás
pai
commit
4a407b4dc5
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      src/main/frontend/components/block.cljs

+ 3 - 1
src/main/frontend/components/block.cljs

@@ -3589,7 +3589,9 @@
                  (when alias? [:span.text-sm.font-medium.opacity-50 " Alias"])]
                 (for [block parent-blocks]
                   (let [block' (update block :block/children tree/non-consecutive-blocks->vec-tree)]
-                    (breadcrumb-with-container block' config)))
+                    (rum/with-key
+                      (breadcrumb-with-container block' config)
+                      (:db/id block'))))
                 {:debug-id page})])))))]
 
      (and (:group-by-page? config)