♻️ 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(mf/defc sidebar-options
{::mf/props :obj}
(mf/defc sidebar-options*
[{:keys [from-viewer]}]
(let [{cmode :mode cshow :show} (mf/deref refs/comments-local)
update-mode
@ -140,7 +139,7 @@
[:& dropdown {:show options?
: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)}