diff --git a/packages/next/src/client/index.tsx b/packages/next/src/client/index.tsx index dc5ba991c6450..f830642717c2f 100644 --- a/packages/next/src/client/index.tsx +++ b/packages/next/src/client/index.tsx @@ -496,8 +496,8 @@ function markHydrateComplete(): void { if ( process.env.NODE_ENV === 'development' && // Old versions of Safari don't return `PerformanceMeasure`s from `performance.measure()` - beforeHydrationMeasure !== undefined && - hydrationMeasure !== undefined + beforeHydrationMeasure && + hydrationMeasure ) { tracer .startSpan('navigation-to-hydration', {