From 293ac8bf6a79d60bbac7dc143223dba1650aef0d Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sun, 16 Jan 2022 17:31:47 +0800 Subject: [PATCH] fix --- .../docusaurus-plugin-google-gtag/src/theme/CookieConsent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-plugin-google-gtag/src/theme/CookieConsent.tsx b/packages/docusaurus-plugin-google-gtag/src/theme/CookieConsent.tsx index d0e700b8a6..b6ef97b00b 100644 --- a/packages/docusaurus-plugin-google-gtag/src/theme/CookieConsent.tsx +++ b/packages/docusaurus-plugin-google-gtag/src/theme/CookieConsent.tsx @@ -36,7 +36,7 @@ export default function CookieConsent(): JSX.Element | null { type="button" className={clsx('clean-btn', styles.button)} onClick={() => { - storage.set('true'); + storage.set('false'); setDismissed(true); }}> Deny