Update packages/cookie-banner/src/client.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Signed-off-by: Émile Ré <nemile.re@gmail.com> Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -235,9 +235,7 @@ export class CookieBannerClient {
|
||||
action: ConsentAction,
|
||||
consentData: Record<string, boolean>,
|
||||
): void {
|
||||
if (action !== "GPC") {
|
||||
this._gpcApplied = false;
|
||||
}
|
||||
this._gpcApplied = action === "GPC";
|
||||
|
||||
const cfg = this.config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user