Merge pull request #3227 from makeplane/develop

fix: posthog events trigger in staging (#3220)
This commit is contained in:
sriram veeraghanta 2023-12-22 14:05:51 +05:30 committed by GitHub
commit d4b6f4faf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,8 +47,7 @@ const PosthogWrapper: FC<IPosthogWrapper> = (props) => {
capture_pageview: false, // Disable automatic pageview capture, as we capture manually capture_pageview: false, // Disable automatic pageview capture, as we capture manually
}); });
} }
// eslint-disable-next-line react-hooks/exhaustive-deps }, [posthogAPIKey, posthogHost]);
}, []);
useEffect(() => { useEffect(() => {
// Track page views // Track page views