Skip to content

Commit

Permalink
rm hook dep
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 11, 2021
1 parent f4435ed commit b13af97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/vitals/vitals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ export function useWebVitalsReport(callback: ReportWebVitalsCallback) {
return () => {
webVitalsCallbacks.delete(callback)
}
}, [callback, metrics.length])
}, [callback])
}

0 comments on commit b13af97

Please sign in to comment.