mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: prefer db/id instead of entity for use-effect deps
This commit is contained in:
@@ -2754,7 +2754,7 @@
|
||||
(fn []
|
||||
(p/let [result (db-async/<task-spent-time repo (:db/id block))]
|
||||
(set-result! result)))
|
||||
[(:logseq.task/status block)])
|
||||
[(:db/id (:logseq.task/status block))])
|
||||
(when (and time-spent (> time-spent 0))
|
||||
[:div.text-sm.time-spent.ml-1
|
||||
(shui/button
|
||||
|
||||
Reference in New Issue
Block a user