Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Nov 21, 2023
1 parent 1925767 commit 02d452c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/next/src/app/fathom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function TrackPageView() {
if (!pathname) return;

trackPageview({
url: pathname + searchParams.toString(),
url: pathname + searchParams?.toString() ?? "",
referrer: document.referrer,
});
}, [pathname, searchParams]);
Expand Down

0 comments on commit 02d452c

Please sign in to comment.