Skip to content

Commit

Permalink
Remove selective logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-nexus committed Feb 24, 2025
1 parent 9b762b9 commit babfa46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function RootLayout({
}

const body = document.querySelector('body')
if (body && !shouldCaptureAnalytics()) {
if (body) {
// Create an Intersection Observer to detect when the body is in view
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
Expand Down

0 comments on commit babfa46

Please sign in to comment.