♻️ Convert sidebar-options to * suffix in comments

This commit is contained in:
Andrey Antukh 2026-04-02 21:39:59 +00:00
parent 70155c2e79
commit b784dbf074

View File

@ -28,8 +28,7 @@
;; Sidebar ;; Sidebar
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(mf/defc sidebar-options (mf/defc sidebar-options*
{::mf/props :obj}
[{:keys [from-viewer]}] [{:keys [from-viewer]}]
(let [{cmode :mode cshow :show} (mf/deref refs/comments-local) (let [{cmode :mode cshow :show} (mf/deref refs/comments-local)
update-mode update-mode
@ -140,7 +139,7 @@
[:& dropdown {:show options? [:& dropdown {:show options?
:on-close #(reset! state* false)} :on-close #(reset! state* false)}
[:& sidebar-options {:local local :from-viewer from-viewer}]] [:> sidebar-options* {:local local :from-viewer from-viewer}]]
[:div {:class (stl/css :comments-section-content)} [:div {:class (stl/css :comments-section-content)}