diff --git a/src/components/PlayerView/index.tsx b/src/components/PlayerView/index.tsx index b70325ea..ee105c86 100644 --- a/src/components/PlayerView/index.tsx +++ b/src/components/PlayerView/index.tsx @@ -125,21 +125,21 @@ export function PlayerView({ useEffect(() => { const node = findNodeHandle(nativeView.current); - if (node && isFullscreenRequested != undefined) { + if (node && isFullscreenRequested !== undefined) { dispatch('setFullscreen', node, isFullscreenRequested); } }, [isFullscreenRequested, nativeView]); useEffect(() => { const node = findNodeHandle(nativeView.current); - if (node && scalingMode != undefined) { + if (node && scalingMode !== undefined) { dispatch('setScalingMode', node, scalingMode); } }, [scalingMode, nativeView]); useEffect(() => { const node = findNodeHandle(nativeView.current); - if (node && isPictureInPictureRequested != undefined) { + if (node && isPictureInPictureRequested !== undefined) { dispatch('setPictureInPicture', node, isPictureInPictureRequested); } }, [isPictureInPictureRequested, nativeView]);