fix: replace sort-by-pos with sort-by-left

This commit is contained in:
Tienson Qin
2021-03-26 20:41:28 +08:00
parent 3e848232c2
commit a5a2881b0f
3 changed files with 30 additions and 22 deletions

View File

@@ -249,7 +249,7 @@
(for [{:block/keys [ref-blocks]} blocks]
(map (fn [ref-block]
[:block/refed-blocks (last ref-block)])
ref-blocks))))
ref-blocks))))
(distinct))
refed-pages (map
(fn [[k page-id]]