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:
Émile Ré
2026-04-24 13:10:09 +04:00
parent f29a2f05cc
commit c364c3eacb

View File

@@ -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;