Skip to content

Commit

Permalink
Use !== instead of !=
Browse files Browse the repository at this point in the history
Co-authored-by: Roland Kákonyi <[email protected]>
  • Loading branch information
krocard and rolandkakonyi authored Dec 7, 2023
1 parent d071e78 commit 7cdf47e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/PlayerView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 7cdf47e

Please sign in to comment.