Skip to content

Commit

Permalink
fix(www): remove redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
christianmat committed Jan 24, 2024
1 parent 1decea0 commit 01e2878
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/www/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ const description = 'Easily persist data across browsers and devices.'
const siteUrl = 'https://remote.storage'
const packageJson = require('../../../packages/js-client/package.json')

export default function App({ Component, pageProps }: AppProps) {
export default function App({ Component, pageProps }: AppProps) {\
const router = useRouter()

useEffect(() => {
// Track page views
const handleRouteChange = () => posthog?.capture('$pageview')
router.events.on('routeChangeComplete', handleRouteChange)

Expand Down

0 comments on commit 01e2878

Please sign in to comment.