From b4c1b632528ba8c4b4a0177074a0fcd20b3b2967 Mon Sep 17 00:00:00 2001 From: Moumita Mandal Date: Thu, 30 Dec 2021 14:21:27 +0530 Subject: [PATCH] removed unnecessary code --- cookieConsent/OneTrust/browser.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cookieConsent/OneTrust/browser.js b/cookieConsent/OneTrust/browser.js index 7f136bdb3d..6b1490cb7f 100644 --- a/cookieConsent/OneTrust/browser.js +++ b/cookieConsent/OneTrust/browser.js @@ -2,8 +2,7 @@ import logger from "../../utils/logUtil"; /* eslint-disable class-methods-use-this */ class OneTrust { - constructor(sourceConfig) { - this.sourceConfig = sourceConfig; + constructor() { // If user does not load onetrust sdk before loading rudderstack sdk // we will not be filtering any of the destinations. if (!window.OneTrust || !window.OnetrustActiveGroups) {