mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
♻️ Convert sidebar-options to * suffix in comments
This commit is contained in:
parent
70155c2e79
commit
b784dbf074
@ -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)}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user