diff --git a/app/src/components/pages/divisionsPage/divisionsPage.tsx b/app/src/components/pages/divisionsPage/divisionsPage.tsx index b4406156..45b135b3 100644 --- a/app/src/components/pages/divisionsPage/divisionsPage.tsx +++ b/app/src/components/pages/divisionsPage/divisionsPage.tsx @@ -19,14 +19,14 @@ interface DivisionsProps { export default function DivisionsPage({ summary, divisions }: DivisionsProps) { const [isLoaded, setIsLoaded] = useState(false); - if ((window as any).newrelic) { - (window as any).newrelic.log("test log from divisions page", { - level: "warn", - }); - } useEffect(() => { setIsLoaded(true); + if ((window as any).newrelic) { + (window as any).newrelic.log("test log from divisions page", { + level: "warn", + }); + } }, []); return (