mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
Cleanup outdated props
This commit is contained in:
parent
5205b684e9
commit
c654766f87
1 changed files with 1 additions and 2 deletions
|
@ -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})]
|
||||||
|
|
Loading…
Add table
Reference in a new issue