mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
refactor: [UEPR-71] removed rest from destructuring
This commit is contained in:
parent
320ae55032
commit
6a101fa76c
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue