Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
EPMatt committed Feb 13, 2025
1 parent 5568a65 commit 2de684c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions website/src/pages/index.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/* eslint-disable */
import React from 'react'
import clsx from 'clsx'
import Layout from '@theme/Layout'
import Link from '@docusaurus/Link'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
import useBaseUrl from '@docusaurus/useBaseUrl'
import styles from './styles.module.css'
import CookieConsent, { Cookies } from 'react-cookie-consent'
import CookieConsent from 'react-cookie-consent'
import { useLocation } from '@docusaurus/router'

export default function Home() {
let location = useLocation()

const location = useLocation()
React.useEffect(() => {
// check if dataLayer exists i.e can we track or not?
if (typeof dataLayer !== 'undefined') {
Expand Down
3 changes: 2 additions & 1 deletion website/static/js/google-tag-manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
;(function (w, d, s, l, i) {
/* eslint-disable */
; (function (w, d, s, l, i) {
w[l] = w[l] || []
w[l].push({
'gtm.start': new Date().getTime(),
Expand Down

0 comments on commit 2de684c

Please sign in to comment.