fix flow error in player
This commit is contained in:
parent
ca44581abd
commit
531ad8dc63
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ function VideoViewer(props: Props) {
|
|||
const { contentType, source, setPlayingUri, onEndedCB, changeVolume, changeMute, volume, muted } = props;
|
||||
const videoRef = useRef();
|
||||
const [requireRedraw, setRequireRedraw] = useState(false);
|
||||
let player = null;
|
||||
let player;
|
||||
|
||||
useEffect(() => {
|
||||
const currentVideo: HTMLVideoElement | null = document.querySelector('video');
|
||||
|
|
Loading…
Reference in a new issue