We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365c6a8 commit 313ab71Copy full SHA for 313ab71
src/components/CookieConsentIsland.tsx
@@ -8,10 +8,9 @@ export function CookieConsentWrapper() {
8
// You can optionally load or trigger it here
9
const windowAsAny = (window as any);
10
if (windowAsAny.tryInitializeWcp) {
11
- console.log('tryInitializeWcp is defined');
12
windowAsAny.tryInitializeWcp();
13
} else {
14
- console.warn('tryInitializeWcp is not defined');
+ console.warn('The consent system is not available. Cookies will not be set.');
15
}
16
}, []);
17
0 commit comments