Fix linting

parent de2363bd
...@@ -55,7 +55,7 @@ const register = ([r, f]) => pageLoader.registerPage(r, f) ...@@ -55,7 +55,7 @@ const register = ([r, f]) => pageLoader.registerPage(r, f)
if (window.__NEXT_P) { if (window.__NEXT_P) {
// Defer page registration for another tick. This will increase the overall // Defer page registration for another tick. This will increase the overall
// latency in hydrating the page, but reduce the total blocking time. // latency in hydrating the page, but reduce the total blocking time.
window.__NEXT_P.map(p => setTimeout(() => register(p), 0)) window.__NEXT_P.map((p) => setTimeout(() => register(p), 0))
} }
window.__NEXT_P = [] window.__NEXT_P = []
window.__NEXT_P.push = register window.__NEXT_P.push = register
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment