diff --git a/packages/nuqs/src/update-queue.ts b/packages/nuqs/src/update-queue.ts index 3e7c32e9..55dc7f48 100644 --- a/packages/nuqs/src/update-queue.ts +++ b/packages/nuqs/src/update-queue.ts @@ -198,9 +198,7 @@ function flushUpdateQueue(router: Router): [URLSearchParams, null | unknown] { // Call the Next.js router to perform a network request // and re-render server components. router.replace(url, { - scroll: false, - // @ts-expect-error - pages router fix, but not exposed in navigation types - shallow: false + scroll: false }) }) }