mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
💄 Fix linter issues
This commit is contained in:
parent
096b5f096c
commit
a8f65ba69e
2 changed files with 10 additions and 10 deletions
|
@ -432,7 +432,7 @@
|
||||||
do-update-component-in-bulk #(st/emit! (dwl/update-component-in-bulk component-shapes component-file))
|
do-update-component-in-bulk #(st/emit! (dwl/update-component-in-bulk component-shapes component-file))
|
||||||
do-restore-component #(st/emit! (dwl/restore-component component-file component-id))
|
do-restore-component #(st/emit! (dwl/restore-component component-file component-id))
|
||||||
|
|
||||||
_do-update-remote-component
|
do-update-remote-component
|
||||||
#(st/emit! (modal/show
|
#(st/emit! (modal/show
|
||||||
{:type :confirm
|
{:type :confirm
|
||||||
:message ""
|
:message ""
|
||||||
|
@ -516,7 +516,7 @@
|
||||||
[:& menu-entry {:title (tr "workspace.shape.menu.reset-overrides")
|
[:& menu-entry {:title (tr "workspace.shape.menu.reset-overrides")
|
||||||
:on-click do-reset-component}]
|
:on-click do-reset-component}]
|
||||||
[:& menu-entry {:title (tr "workspace.shape.menu.update-main")
|
[:& menu-entry {:title (tr "workspace.shape.menu.update-main")
|
||||||
:on-click _do-update-remote-component}]
|
:on-click do-update-remote-component}]
|
||||||
[:& menu-entry {:title (tr "workspace.shape.menu.go-main")
|
[:& menu-entry {:title (tr "workspace.shape.menu.go-main")
|
||||||
:on-click do-navigate-component-file}]])))])
|
:on-click do-navigate-component-file}]])))])
|
||||||
[:& menu-separator]]))
|
[:& menu-separator]]))
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
do-detach-component
|
do-detach-component
|
||||||
#(st/emit! (dwl/detach-component id))
|
#(st/emit! (dwl/detach-component id))
|
||||||
|
|
||||||
_do-reset-component
|
do-reset-component
|
||||||
#(st/emit! (dwl/reset-component id))
|
#(st/emit! (dwl/reset-component id))
|
||||||
|
|
||||||
do-update-component
|
do-update-component
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
do-restore-component
|
do-restore-component
|
||||||
#(st/emit! (dwl/restore-component library-id component-id))
|
#(st/emit! (dwl/restore-component library-id component-id))
|
||||||
|
|
||||||
_do-update-remote-component
|
do-update-remote-component
|
||||||
#(st/emit! (modal/show
|
#(st/emit! (modal/show
|
||||||
{:type :confirm
|
{:type :confirm
|
||||||
:message ""
|
:message ""
|
||||||
|
@ -106,21 +106,21 @@
|
||||||
(if local-component?
|
(if local-component?
|
||||||
(if is-dangling?
|
(if is-dangling?
|
||||||
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
||||||
[(tr "workspace.shape.menu.reset-overrides") _do-reset-component]
|
[(tr "workspace.shape.menu.reset-overrides") do-reset-component]
|
||||||
(when components-v2
|
(when components-v2
|
||||||
[(tr "workspace.shape.menu.restore-main") do-restore-component])]
|
[(tr "workspace.shape.menu.restore-main") do-restore-component])]
|
||||||
|
|
||||||
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
||||||
[(tr "workspace.shape.menu.reset-overrides") _do-reset-component]
|
[(tr "workspace.shape.menu.reset-overrides") do-reset-component]
|
||||||
[(tr "workspace.shape.menu.update-main") do-update-component]
|
[(tr "workspace.shape.menu.update-main") do-update-component]
|
||||||
[(tr "workspace.shape.menu.show-main") do-show-component]])
|
[(tr "workspace.shape.menu.show-main") do-show-component]])
|
||||||
|
|
||||||
(if is-dangling?
|
(if is-dangling?
|
||||||
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
||||||
[(tr "workspace.shape.menu.reset-overrides") _do-reset-component]
|
[(tr "workspace.shape.menu.reset-overrides") do-reset-component]
|
||||||
(when components-v2
|
(when components-v2
|
||||||
[(tr "workspace.shape.menu.restore-main") do-restore-component])]
|
[(tr "workspace.shape.menu.restore-main") do-restore-component])]
|
||||||
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
[[(tr "workspace.shape.menu.detach-instance") do-detach-component]
|
||||||
[(tr "workspace.shape.menu.reset-overrides") _do-reset-component]
|
[(tr "workspace.shape.menu.reset-overrides") do-reset-component]
|
||||||
[(tr "workspace.shape.menu.update-main") _do-update-remote-component]
|
[(tr "workspace.shape.menu.update-main") do-update-remote-component]
|
||||||
[(tr "workspace.shape.menu.go-main") do-navigate-component-file]])))}]]]]])))
|
[(tr "workspace.shape.menu.go-main") do-navigate-component-file]])))}]]]]])))
|
||||||
|
|
Loading…
Reference in a new issue