fix lint and tests

This commit is contained in:
Jason Hunter
2021-06-10 15:52:22 -04:00
committed by Blake Blackshear
parent b70c11e7a7
commit da8e54ed51
5 changed files with 24 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
import { h, Component } from 'preact';
import { h } from 'preact';
import { useRef, useEffect } from 'preact/hooks';
import videojs from 'video.js';
import 'videojs-playlist';
@@ -84,7 +84,7 @@ export default function VideoPlayer({ children, options, seekOptions = {}, onRea
player.dispose();
onDispose();
};
}, []);
}, []); // eslint-disable-line react-hooks/exhaustive-deps
return (
<div data-vjs-player>