From 4de247ab50882a00e760d964706b25bf0b989bb9 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Mon, 7 Oct 2024 09:00:15 +0200 Subject: [PATCH] Tracking WIP --- components/CookieBot/index.tsx | 2 +- components/Current/GTMScript.tsx | 15 +++++---------- components/TempDesignSystem/Link/index.tsx | 20 ++------------------ 3 files changed, 8 insertions(+), 29 deletions(-) diff --git a/components/CookieBot/index.tsx b/components/CookieBot/index.tsx index 32b9dd0c0..9860e61d6 100644 --- a/components/CookieBot/index.tsx +++ b/components/CookieBot/index.tsx @@ -5,7 +5,7 @@ import { useCallback, useEffect } from "react" import { webviews } from "@/constants/routes/webviews" -export default function CookieBot() { +export default function CookieBotConsent() { const pathName = usePathname() const isWebview = webviews.includes(pathName) const CookiebotCallbackOnAccept = useCallback(() => { diff --git a/components/Current/GTMScript.tsx b/components/Current/GTMScript.tsx index 3abcc7dfc..bc72a2e3f 100644 --- a/components/Current/GTMScript.tsx +++ b/components/Current/GTMScript.tsx @@ -1,18 +1,13 @@ +import Script from "next/script" + export default function GTMScript() { return ( -