Skip to content

Commit 3e3c2ec

Browse files
Christopher StamperChristopher Stamper
authored andcommitted
Fixed warning showing in Web Metrics when it shouldn't
1 parent a1dc57b commit 3e3c2ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/StateRoute/StateRoute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const StateRoute = (props: StateRouteProps) => {
192192
typeof webMetrics.INP !== 'number' ? '- ms' : `${webMetrics.INP.toFixed(2)} ms`
193193
}
194194
score={['200 ms', '500 ms']}
195-
overLimit={webMetrics.LCP > 700}
195+
overLimit={webMetrics.INP > 700}
196196
label='Interaction to Next Paint'
197197
name='Interaction to Next Paint'
198198
description={`Assesses a page's overall responsiveness to user interactions by observing the latency of all click, tap, and keyboard interactions that occur throughout the lifespan of a user's visit to a page`}

0 commit comments

Comments
 (0)