From 6a101fa76caba670b0f15429ff5907d6a17ad00f Mon Sep 17 00:00:00 2001 From: MiroslavDionisiev Date: Wed, 23 Oct 2024 11:08:23 +0300 Subject: [PATCH] refactor: [UEPR-71] removed rest from destructuring --- src/lib/onboarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/onboarding.js b/src/lib/onboarding.js index b602ad5f4..8131d4f8a 100644 --- a/src/lib/onboarding.js +++ b/src/lib/onboarding.js @@ -99,7 +99,7 @@ export const sendUserProperties = user => { window.dataLayer = window.dataLayer || []; - const {gender, birthYear, birthMonth, ..._rest} = user; + const {gender, birthYear, birthMonth} = user; window.dataLayer.push({ testGroup: onboardingTestGroup(user),