From a0e7442a4f7b0fa8881993924b06650d1a6f6caa Mon Sep 17 00:00:00 2001 From: Noa Santo <72336443+virus-rpi@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:52:07 +0000 Subject: [PATCH] chore: simplify button --- src/pages/data-privacy.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/pages/data-privacy.tsx b/src/pages/data-privacy.tsx index a70510af..81960d2a 100644 --- a/src/pages/data-privacy.tsx +++ b/src/pages/data-privacy.tsx @@ -5,7 +5,6 @@ import { Layout } from '../components/layout/layout'; import { ContentBlockContainer } from '../components/layout/content-block-container'; import { ContentfulRichText } from '../components/content/rich-text/rich-text'; import { ContentfulPage, ContentfulRichTextType } from '../types'; -import * as CookieConsentLib from 'vanilla-cookieconsent'; import { Button } from '../components/ui/buttons/button'; import { useTranslation } from 'react-i18next'; @@ -18,17 +17,10 @@ const DataPrivacyPage = ({ data, }: PageProps): JSX.Element => { const { t } = useTranslation(); - - const reopenCookieConsent = () => { - if (CookieConsentLib && CookieConsentLib.showPreferences) { - CookieConsentLib.showPreferences(); - } - }; - return ( -