diff --git a/packages/react-router/src/ReactRouter/IonRouter.tsx b/packages/react-router/src/ReactRouter/IonRouter.tsx index 1a876aaf47..14cd3ab55c 100644 --- a/packages/react-router/src/ReactRouter/IonRouter.tsx +++ b/packages/react-router/src/ReactRouter/IonRouter.tsx @@ -34,6 +34,8 @@ function IonRouterInner(props: PropsWithChildren) { search: location.search, }; + locationHistory.current.add(routeInfo); + setRouteInfo(routeInfo); }, []);