We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb9e8c0 commit 0ae4b24Copy full SHA for 0ae4b24
packages/sui-react-web-vitals/src/index.js
@@ -102,7 +102,7 @@ export default function WebVitalsReporter({
102
const isAllowed = allowed.includes(pathname) || allowed.includes(routeid)
103
const target = getTarget({name, attribution})
104
105
- if (!isAllowed || !logger?.cwv || rating === RATING.GOOD || target === '' || target === null) return
+ if (!isAllowed || !logger?.cwv || rating === RATING.GOOD || !target) return
106
107
const {loadState, eventType} = attribution
108
0 commit comments