diff --git a/src/components/global/SafaryClubScript.tsx b/src/components/global/SafaryClubScript.tsx deleted file mode 100644 index fba0c863..00000000 --- a/src/components/global/SafaryClubScript.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { useEffect } from 'react'; - -const SafaryClubScript = () => { - useEffect(() => { - if (process.env.NODE_ENV === 'production') { - const script = document.createElement('script'); - script.src = 'https://tag.safary.club/stag.js?id=prd_3F8QxipEOt'; - script.async = true; - document.head.appendChild(script); - - // Cleanup on component unmount - return () => { - document.head.removeChild(script); - }; - } - }, []); - - return null; -}; - -export default SafaryClubScript; diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 02bbb449..7d1495b7 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -29,7 +29,6 @@ import 'react-toastify/dist/ReactToastify.css'; import { wagmiConfig } from '@/rainbowKitConfig'; import AmplitudeAnalytics from '../components/global/AmplitudeAnalytics'; -import SafaryClubScript from '../components/global/SafaryClubScript'; import { conf } from '../configs'; import { ChannelProvider } from '../context/ChannelContext'; import { TokenProvider } from '../context/TokenContext'; @@ -56,7 +55,6 @@ export default function App({ Component, pageProps }: ComponentWithPageLayout) { return ( <> -