We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1decea0 commit 01e2878Copy full SHA for 01e2878
apps/www/pages/_app.tsx
@@ -25,11 +25,10 @@ const description = 'Easily persist data across browsers and devices.'
25
const siteUrl = 'https://remote.storage'
26
const packageJson = require('../../../packages/js-client/package.json')
27
28
-export default function App({ Component, pageProps }: AppProps) {
+export default function App({ Component, pageProps }: AppProps) {\
29
const router = useRouter()
30
31
useEffect(() => {
32
- // Track page views
33
const handleRouteChange = () => posthog?.capture('$pageview')
34
router.events.on('routeChangeComplete', handleRouteChange)
35
0 commit comments