Skip to content

Commit 94e6060

Browse files
ci: apply automated fixes
1 parent eb42c71 commit 94e6060

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/components/CookieConsent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function CookieConsent() {
6464
'_gid=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.google.com'
6565
}
6666

67-
const restoreGoogleScripts = () => {
67+
const restoreGoogleScripts = () => {
6868
if (!document.querySelector("script[src*='googletagmanager.com']")) {
6969
const script = document.createElement('script')
7070
script.src = 'https://www.googletagmanager.com/gtag/js?id=GTM-5N57KQT4'
@@ -73,7 +73,7 @@ const restoreGoogleScripts = () => {
7373
}
7474
}
7575

76-
const updateGTMConsent = (settings: { analytics: boolean; ads: boolean }) => {
76+
const updateGTMConsent = (settings: { analytics: boolean; ads: boolean }) => {
7777
window.dataLayer = window.dataLayer || []
7878
window.dataLayer.push({
7979
event: 'cookie_consent',

src/routes/_libraries/route.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import * as React from 'react'
2-
import {
3-
Outlet,
4-
useLocation,
5-
createFileRoute,
6-
} from '@tanstack/react-router'
2+
import { Outlet, useLocation, createFileRoute } from '@tanstack/react-router'
73

84
import { libraries } from '~/libraries'
95
import { Scarf } from '~/components/Scarf'

0 commit comments

Comments
 (0)