Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Feb 5, 2020
1 parent 778db98 commit 591b4a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/next/next-server/lib/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,6 @@ export default class Router implements BaseRouter {
if ((routeInfo as any).dataRes) {
const dataRes = (routeInfo as any).dataRes as Promise<RouteInfo>
// race loading state timeout with data response
// if loading state wins we leave it for 50 ms even if data
// is 1ms after loading state timeout

Promise.race([
new Promise(resolve => setTimeout(() => resolve(false), 110)),
Expand Down

0 comments on commit 591b4a0

Please sign in to comment.