diff --git a/packages/react-router/src/RouterProvider.tsx b/packages/react-router/src/RouterProvider.tsx index a8f6f2588ff..c2ffe8b0845 100644 --- a/packages/react-router/src/RouterProvider.tsx +++ b/packages/react-router/src/RouterProvider.tsx @@ -143,6 +143,7 @@ function Transitioner() { }) const nextLocation = router.buildLocation({ + to: router.latestLocation.pathname, search: true, params: true, hash: true,