Browse Source

fix: revert a incorrect change

Peng Xiao 2 năm trước cách đây
mục cha
commit
4a407b4dc5
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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)