remove console.log for linter
This commit is contained in:
parent
d47b6eae0c
commit
1f3035b2f9
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
||||||
// For some reason the video player is responsible for detecting content type this way
|
// For some reason the video player is responsible for detecting content type this way
|
||||||
fetch(source, { method: 'HEAD', cache: 'no-store' }).then((response) => {
|
fetch(source, { method: 'HEAD', cache: 'no-store' }).then((response) => {
|
||||||
const deltaFetch = performance.now() - fetchStartedAt;
|
const deltaFetch = performance.now() - fetchStartedAt;
|
||||||
console.log(`Prefetch took: ${deltaFetch.toFixed(3)}ms`);
|
// console.log(`Prefetch took: ${deltaFetch.toFixed(3)}ms`);
|
||||||
|
|
||||||
// Send fetch duration analytic event (in ms)
|
// Send fetch duration analytic event (in ms)
|
||||||
analytics.videoFetchDuration(source, deltaFetch);
|
analytics.videoFetchDuration(source, deltaFetch);
|
||||||
|
|
Loading…
Reference in a new issue