♻️ Update name of shape icon refactor

This commit is contained in:
Eva Marco 2024-03-08 14:05:06 +01:00 committed by Alonso Torres
parent ca7438aab5
commit 4f01a63771
5 changed files with 12 additions and 12 deletions

View file

@ -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