From 47f536e177c3b48b8c8b125d7ef9f0ec10a25a6f Mon Sep 17 00:00:00 2001 From: kai Date: Fri, 20 Dec 2024 14:07:55 -0500 Subject: [PATCH] Trigger mini profile page transition on 'before' --- app/components/MiniProfilerPageTracking.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/MiniProfilerPageTracking.tsx b/app/components/MiniProfilerPageTracking.tsx index b2f55f36..f3d9af57 100644 --- a/app/components/MiniProfilerPageTracking.tsx +++ b/app/components/MiniProfilerPageTracking.tsx @@ -10,7 +10,7 @@ declare global { const MiniProfilerPageTracking: FC = () => { useEffect(() => { - return router.on("start", () => { + return router.on("before", () => { window.MiniProfiler?.pageTransition(); }); }, []);