diff --git a/src/lib/router.ts b/src/lib/router.ts index 9dbc1c63d..722c0ed47 100644 --- a/src/lib/router.ts +++ b/src/lib/router.ts @@ -72,7 +72,7 @@ export async function navigateToUrl( const route = urlToRoute(url); if (route) { - await replace(route); + await navigate(action, route); } else { await navigate(action, { resource: "notFound",