Skip to content

Commit bce6d7e

Browse files
authored
Merge pull request #64 from oslabs-beta/ctstamper/Fixing-WebMetrics
Fixed warning showing in Web Metrics when it shouldn't
2 parents e9bbeae + 3e3c2ec commit bce6d7e

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)