Fixed tag issue.
This commit is contained in:
parent
02b04da10d
commit
56c598415d
@ -16,7 +16,7 @@
|
||||
rel="apple-touch-icon"
|
||||
href="https://cdn.tombutcher.work/favicon/favicon192.png"
|
||||
/>
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<title>TOM BUTCHER</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import React, { useState, useEffect } from "react";
|
||||
import ReactGA from "react-ga4";
|
||||
import { Layout, Space } from "antd";
|
||||
import { useLocation, useNavigate } from "react-router-dom";
|
||||
import { AnimatePresence, motion } from "framer-motion";
|
||||
@ -25,8 +24,6 @@ const App = () => {
|
||||
|
||||
const isMobile = useMediaQuery({ maxWidth: 600 });
|
||||
|
||||
ReactGA.initialize(GA_MEASUREMENT_ID);
|
||||
|
||||
// Get the query parameter from the URL
|
||||
const getQueryParam = (param) => {
|
||||
const searchParams = new URLSearchParams(location.search); // Use location.search directly
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import React from "react";
|
||||
import ReactGA from "react-ga4";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
@ -7,6 +8,8 @@ import "antd/dist/reset.css"; // Import Ant Design styles
|
||||
import "../public/global.css";
|
||||
import "../public/fonts.css";
|
||||
|
||||
ReactGA.initialize("G-MN5S04W1HB");
|
||||
|
||||
createRoot(document.getElementById("root")).render(
|
||||
<StrictMode>
|
||||
<BrowserRouter>
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
* Environment Variables
|
||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
||||
*/
|
||||
"vars": { "GA_MEASUREMENT_ID": "G-MN5S04W1HB" },
|
||||
// "vars": { "GA_MEASUREMENT_ID": "" },
|
||||
/**
|
||||
* Note: Use secrets to store sensitive data.
|
||||
* https://developers.cloudflare.com/workers/configuration/secrets/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user