Skip to content

Commit

Permalink
misc: env added
Browse files Browse the repository at this point in the history
  • Loading branch information
lassiecoder committed Apr 9, 2024
1 parent fabd298 commit 95444e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.pnp.js
.yarn/install-state.gz
firebase-cred.js
.env

# testing
/coverage
Expand Down
5 changes: 1 addition & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ import ContactForm from "./pages/contact";

import ReactGA from "react-ga4";
import { useEffect } from "react";
// import { TracingBeam } from "@/components/ui/tracing-beam";
import {T_ID} from "@/app/firebase-cred"


export default function Home() {


useEffect(() => {
// if (T_ID !== '') {
ReactGA.initialize(T_ID);
console.log({T_ID})
ReactGA.initialize("G-PYQ50G2GWN");
// }
}, []);

Expand Down

0 comments on commit 95444e2

Please sign in to comment.