diff --git a/src/main/frontend/components/block.cljs b/src/main/frontend/components/block.cljs index feb0484807..b04175b11f 100644 --- a/src/main/frontend/components/block.cljs +++ b/src/main/frontend/components/block.cljs @@ -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 [] diff --git a/src/main/frontend/ui.cljs b/src/main/frontend/ui.cljs index ebaa8b77df..6ba20aedcb 100644 --- a/src/main/frontend/ui.cljs +++ b/src/main/frontend/ui.cljs @@ -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)}}