remove console.log for linter

This commit is contained in:
DispatchCommit 2021-03-08 22:58:07 -08:00 committed by Sean Yesmunt
parent d47b6eae0c
commit 1f3035b2f9

View file

@ -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
fetch(source, { method: 'HEAD', cache: 'no-store' }).then((response) => {
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)
analytics.videoFetchDuration(source, deltaFetch);