Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
feat: posthog dep capt (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdilouraoui authored Sep 19, 2023
1 parent 1cf8724 commit e138203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/usePostHog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const usePostHog = () => {
useEffect(() => {
const handleRouteChange = () => {
posthog?.capture('$pageview');
console.log('captured!');
console.log('capt');
};
router.events.on('routeChangeComplete', handleRouteChange);

Expand Down

0 comments on commit e138203

Please sign in to comment.