Skip to content

Commit

Permalink
fix missing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed May 12, 2022
1 parent da33582 commit 9686243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/build/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ export function invalidatePageRuntimeCache(
pageFilePath: string,
safeTime: number
) {
const cached = cachedPageRuntimeConfig.get(pageFilePath)
const cached = cachedPageStaticInfo.get(pageFilePath)
if (cached && cached[0] < safeTime) {
cachedPageRuntimeConfig.delete(pageFilePath)
cachedPageStaticInfo.delete(pageFilePath)
}
}

Expand Down

0 comments on commit 9686243

Please sign in to comment.