Skip to content

Commit

Permalink
removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Moumita Mandal committed Dec 30, 2021
1 parent 7f8a270 commit b4c1b63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cookieConsent/OneTrust/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b4c1b63

Please sign in to comment.