mirror of
https://github.com/penpot/penpot.git
synced 2025-07-05 18:57:50 +02:00
♻️ Update name of shape icon refactor
This commit is contained in:
parent
ca7438aab5
commit
4f01a63771
5 changed files with 12 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
;;
|
||||
;; Copyright (c) KALEIDOS INC
|
||||
|
||||
(ns app.main.ui.components.shape-icon-refactor
|
||||
(ns app.main.ui.components.shape-icon
|
||||
(:require
|
||||
[app.common.types.component :as ctk]
|
||||
[app.common.types.shape :as cts]
|
||||
|
@ -12,7 +12,7 @@
|
|||
[app.main.ui.icons :as i]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
(mf/defc element-icon-refactor
|
||||
(mf/defc element-icon
|
||||
{::mf/wrap-props false}
|
||||
[{:keys [shape main-instance?]}]
|
||||
(if (ctk/instance-head? shape)
|
||||
|
@ -51,7 +51,7 @@
|
|||
nil)))
|
||||
|
||||
|
||||
(mf/defc element-icon-refactor-by-type
|
||||
(mf/defc element-icon-by-type
|
||||
[{:keys [type main-instance?] :as props}]
|
||||
(if main-instance?
|
||||
i/component
|
Loading…
Add table
Add a link
Reference in a new issue