Skip to content

Commit

Permalink
Make sure to re-add before changeState
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 25, 2020
1 parent d783f0e commit b954f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/next-server/lib/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default class Router implements BaseRouter {
this.changeState(
'replaceState',
formatWithValidation({ pathname: addBasePath(pathname), query }),
as
addBasePath(as)
)
}

Expand Down

0 comments on commit b954f86

Please sign in to comment.