Skip to content

Commit

Permalink
Trigger mini profile page transition on 'before'
Browse files Browse the repository at this point in the history
  • Loading branch information
hulloitskai committed Dec 20, 2024
1 parent 6675200 commit 47f536e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/MiniProfilerPageTracking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare global {

const MiniProfilerPageTracking: FC = () => {
useEffect(() => {
return router.on("start", () => {
return router.on("before", () => {
window.MiniProfiler?.pageTransition();
});
}, []);
Expand Down

0 comments on commit 47f536e

Please sign in to comment.