Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for query params on not found pages (vercel#43836)
Previously, query parameters were not available on 404 pages because calling the router methods would change the pathname in the browser. This change adds support for the query to update for those pages without updating the path to include the basePath. This additionally narrows some Typescript types that were previous set to `any` which highlighted some type errors that were corrected. Fixes: vercel#35990 Co-authored-by: JJ Kasper <[email protected]>
- Loading branch information