mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: wrong effect
This commit is contained in:
@@ -1099,11 +1099,6 @@
|
||||
(set-value! (or (get (db/entity (:db/id block)) (:db/ident property)) ""))
|
||||
(when exit-editing?
|
||||
(set-editing! false)))))]
|
||||
(hooks/use-effect!
|
||||
(fn []
|
||||
#(set-property-value! @*value))
|
||||
[])
|
||||
|
||||
(hooks/use-effect!
|
||||
(fn []
|
||||
(set-value! string-value)
|
||||
|
||||
Reference in New Issue
Block a user