refactor: [UEPR-71] removed rest from destructuring

This commit is contained in:
MiroslavDionisiev 2024-10-23 11:08:23 +03:00
parent 320ae55032
commit 6a101fa76c

View file

@ -99,7 +99,7 @@ export const sendUserProperties = user => {
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
const {gender, birthYear, birthMonth, ..._rest} = user; const {gender, birthYear, birthMonth} = user;
window.dataLayer.push({ window.dataLayer.push({
testGroup: onboardingTestGroup(user), testGroup: onboardingTestGroup(user),