Skip to content

Commit

Permalink
fix: removing page view event from layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel Ramos authored and Emanuel Ramos committed Oct 7, 2024
1 parent f9a92d3 commit 2b52be3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { type PropsWithChildren } from 'react'

import { usePageViewEvent } from './sdk/analytics/hooks/usePageViewEvent'

function Layout({ children }: PropsWithChildren) {
usePageViewEvent()

return <>{children}</>
}

Expand Down

0 comments on commit 2b52be3

Please sign in to comment.