From 987d3dbfee6f8ecd526930339669f3332a642cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Mon, 17 Jun 2024 09:56:27 +0200 Subject: [PATCH] fixes --- plugin-src/transformers/partials/transformOverrides.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-src/transformers/partials/transformOverrides.ts b/plugin-src/transformers/partials/transformOverrides.ts index b7d2c726..dd9cbd09 100644 --- a/plugin-src/transformers/partials/transformOverrides.ts +++ b/plugin-src/transformers/partials/transformOverrides.ts @@ -9,11 +9,11 @@ export const transformOverrides = (node: SceneNode) => { return {}; } - let touched: SyncGroups[] = []; + const touched: SyncGroups[] = []; overrides.forEach(override => { if (syncAttributes[override]) { - touched = [...touched, ...syncAttributes[override]]; + touched.push(...syncAttributes[override]); } });