fix: lint warning

pull/5230/head
Tienson Qin 2022-05-06 17:53:58 +08:00
parent d97692c4cc
commit da46ee1839
1 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,7 @@
(rum/defc block-linked-references < rum/reactive db-mixins/query
[block-id]
(let [repo (state/get-current-repo)
refed-blocks-ids (model-db/get-referenced-blocks-ids (str block-id))]
(let [refed-blocks-ids (model-db/get-referenced-blocks-ids (str block-id))]
(when (seq refed-blocks-ids)
(let [ref-blocks (db/get-block-referenced-blocks block-id)
ref-hiccup (block/->hiccup ref-blocks