Skip to content

Commit

Permalink
chore: rename shallow
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwa committed Apr 6, 2021
1 parent 054ff7b commit b37ee2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/next-server/lib/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export default class Router implements BaseRouter {
_bps: BeforePopStateCallback | undefined
events: MittEmitter<
RouterEvent,
(url: string, routeProps: { shadow: boolean }) => void
(url: string, routeProps: { shallow: boolean }) => void
> = mitt()
_wrapApp: (App: AppComponent) => any
isSsr: boolean
Expand All @@ -526,7 +526,7 @@ export default class Router implements BaseRouter {

static events: MittEmitter<
RouterEvent,
(url: string, routeProps: { shadow: boolean }) => void
(url: string, routeProps: { shallow: boolean }) => void
> = mitt()

constructor(
Expand Down

0 comments on commit b37ee2c

Please sign in to comment.