Skip to content

Commit 7ec6659

Browse files
committed
Fix OneTrust second layer integration
1 parent caebca0 commit 7ec6659

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/react-native-contentpass-cmp-onetrust/src/OnetrustCmpAdapter.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,7 @@ export default class OnetrustCmpAdapter implements CmpAdapter {
100100
}
101101
});
102102

103-
if (view === 'vendor') {
104-
this.sdk.showPreferenceCenterUI();
105-
} else {
106-
this.sdk.showConsentPurposesUI();
107-
}
103+
this.sdk.showPreferenceCenterUI();
108104
});
109105
}
110106

0 commit comments

Comments
 (0)