Skip to content

Commit

Permalink
fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
brock-statsig committed Jan 4, 2025
1 parent 5b2603f commit 6d296e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/theme/NotFound/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 6d296e9

Please sign in to comment.