Skip to content

Commit

Permalink
adding template
Browse files Browse the repository at this point in the history
  • Loading branch information
btabaska committed May 13, 2024
1 parent 7275894 commit 687c974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { sendGAEvent } from "@next/third-parties/google";
import { PUBLIC_ENV } from "../constants/environments";

export default function Template({ children }: { children: React.ReactNode }) {
const isProd = process.env.NODE_ENV === "development";
const isProd = process.env.NODE_ENV === "production";

useEffect(() => {
isProd &&
Expand Down

0 comments on commit 687c974

Please sign in to comment.