mirror of
https://github.com/logseq/logseq.git
synced 2026-05-24 12:44:22 +00:00
fix: lint warnings
This commit is contained in:
@@ -2402,8 +2402,7 @@
|
||||
[state config block]
|
||||
(let [repo (state/get-current-repo)
|
||||
ref? (:ref? config)
|
||||
custom-query? (boolean (:custom-query? config))
|
||||
ref-or-custom-query? (or ref? custom-query?)]
|
||||
custom-query? (boolean (:custom-query? config))]
|
||||
(if (and ref? (not custom-query?) (not (:ref-query-child? config)))
|
||||
(ui/lazy-visible
|
||||
(fn []
|
||||
|
||||
@@ -927,7 +927,7 @@
|
||||
(reset! *height height')))))]
|
||||
(.observe observer @(::ref state))))
|
||||
state)}
|
||||
[state visible? content-fn reset-height?]
|
||||
[state visible? content-fn _reset-height?]
|
||||
[:div.lazy-visibility {:ref #(reset! (::ref state) %)
|
||||
:style {:min-height @(::height state)}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user