diff --git a/packages/next/client/index.js b/packages/next/client/index.js index be2e7e295982f..2eed1010881e8 100644 --- a/packages/next/client/index.js +++ b/packages/next/client/index.js @@ -249,10 +249,7 @@ function renderReactElement (reactEl, domEl) { } else { ReactDOM.render(reactEl, domEl, markRenderComplete) } - relayPaintMetrics() -} -function relayPaintMetrics () { if (onPerfEntry) { performance.getEntriesByType('paint').forEach(onPerfEntry) }