From e203646085b33c009abf0adc3e3ea8d61e47a491 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Wed, 3 Jul 2024 11:16:16 +0200 Subject: [PATCH] Naming --- frontend/src/app/main/ui/workspace/tokens/core.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/core.cljs b/frontend/src/app/main/ui/workspace/tokens/core.cljs index 6974b35c4..e4b698817 100644 --- a/frontend/src/app/main/ui/workspace/tokens/core.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/core.cljs @@ -102,9 +102,9 @@ ptk/WatchEvent (watch [_ _ _] (let [{:keys [attributes on-update-shape]} token-type-props - remove-tokens? (wtt/shapes-token-applied? token shapes (:attributes token-type-props)) + unapply-tokens? (wtt/shapes-token-applied? token shapes (:attributes token-type-props)) shape-ids (map :id shapes)] - (if remove-tokens? + (if unapply-tokens? (rx/of (unapply-token {:attributes attributes :shape-ids shape-ids}))