Skip to content

Commit

Permalink
Simplify forEach
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWr committed Dec 4, 2023
1 parent bfcdcc5 commit 6a6bdfd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/redirects/google-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ export function GoogleAnalytics(source) {
ga(...arg);
};
queue.push = push;
queue.forEach((arg) => {
push(arg);
});
queue.forEach(push);
}

const { dataLayer, google_optimize } = window; // eslint-disable-line camelcase
Expand Down

0 comments on commit 6a6bdfd

Please sign in to comment.