0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Cleanup outdated props

This commit is contained in:
Florian Schroedl 2024-05-16 11:43:37 +02:00
parent 5205b684e9
commit c654766f87

View file

@ -60,8 +60,7 @@
(toggle-or-apply-token shape token)))
(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
:token-id (:id token)
:attributes attributes})]