mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Cleanup outdated props
This commit is contained in:
@@ -60,8 +60,7 @@
|
|||||||
(toggle-or-apply-token shape token)))
|
(toggle-or-apply-token shape token)))
|
||||||
|
|
||||||
(defn apply-token-to-shape
|
(defn apply-token-to-shape
|
||||||
"When the passed `:token` is non-nil apply it to the `:applied-tokens` on a shape."
|
[{:keys [shape token attributes] :as _props}]
|
||||||
[{:keys [shape token attributes] :as props}]
|
|
||||||
(let [applied-tokens (apply-token-id-to-attributes {:shape shape
|
(let [applied-tokens (apply-token-id-to-attributes {:shape shape
|
||||||
:token-id (:id token)
|
:token-id (:id token)
|
||||||
:attributes attributes})]
|
:attributes attributes})]
|
||||||
|
|||||||
Reference in New Issue
Block a user