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