Skip to content

Commit

Permalink
Fix to disable object reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
from20020516 committed Feb 2, 2022
1 parent 6c45571 commit 5e02617
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/fluctAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import CONSTANTS from '../src/constants.json';
import {
logInfo,
generateUUID,
deepClone,
} from '../src/utils.js';
import find from 'core-js-pure/features/array/find.js';

Expand Down Expand Up @@ -126,7 +127,8 @@ const getAdUnitMap = () => window.googletag.pubads().getSlots().reduce((prev, sl

/** @type {(adUnits: AdUnit[], slots: Slots) => AdUnit[]} */
export const convertReplicatedAdUnits = (adUnits, slots) =>
adUnits.map(adUnit => {
adUnits.map(_adUnit => {
const adUnit = deepClone(_adUnit)
const adUnitPath = slots[adUnit.code]
try {
if (adUnitPath) {
Expand Down

0 comments on commit 5e02617

Please sign in to comment.