From 856d56476fa160c96222c25022b32eddd6a6181f Mon Sep 17 00:00:00 2001 From: brock-statsig <146870406+brock-statsig@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:11:35 -0800 Subject: [PATCH] fixed logging (#2455) --- src/theme/NotFound/Content/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/theme/NotFound/Content/index.tsx b/src/theme/NotFound/Content/index.tsx index 798a20646..b4ca1ba00 100644 --- a/src/theme/NotFound/Content/index.tsx +++ b/src/theme/NotFound/Content/index.tsx @@ -12,12 +12,9 @@ declare const Statsig: { export default function NotFoundContent({className}: Props): JSX.Element { useEffect(() => { - console.log("NotFoundWrapper useEffect is running"); // Add this line try { Statsig.instance().logEvent('PageNotFound', window.location.href); - console.log("Successfully logged PageNotFound event"); } catch (error) { - console.error("Error logging PageNotFound event:", error); } }, []); return (