mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 23:19:38 +00:00
fix: console error of zero-sized element
This commit is contained in:
@@ -1162,8 +1162,7 @@
|
||||
(p/let [block (db-async/<get-block (state/get-current-repo) db-id opts)]
|
||||
(set-item! block))))
|
||||
[db-id])
|
||||
(when item
|
||||
(item-render (cond (map? item) item (number? item) {:db/id item})))))
|
||||
(item-render (cond (map? item) item (number? item) {:db/id item}))))
|
||||
|
||||
(rum/defc table-body < rum/static
|
||||
[table option rows *scroller-ref *rows-wrap set-items-rendered!]
|
||||
|
||||
Reference in New Issue
Block a user