diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 549afe55..54781360 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -185,7 +185,7 @@ function ShellComponent({ children }: { children: React.ReactNode }) { }, [isNavigating]) const canonicalPath = useRouterState({ - select: (s) => s.resolvedLocation?.pathname || '/', + select: (s) => s.location?.pathname || '/', }) const preferredCanonicalPath = getCanonicalPath(canonicalPath)