Skip to content

Commit

Permalink
ESLint corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnfb committed Jun 19, 2024
1 parent 2a4dc1b commit d01f660
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
onControlsVisibilityChange?.(e.nativeEvent);
},
[onControlsVisibilityChange],
)
);

const useExternalGetLicense = drm?.getLicense instanceof Function;

Expand Down Expand Up @@ -625,7 +625,11 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
? (_onReceiveAdEvent as (e: NativeSyntheticEvent<object>) => void)
: undefined
}
onControlsVisibilityChange={onControlsVisibilityChange ? _onControlsVisibilityChange : undefined}
onControlsVisibilityChange={
onControlsVisibilityChange
? _onControlsVisibilityChange
: undefined
}
/>
{hasPoster && showPoster ? (
<Image style={posterStyle} source={{uri: poster}} />
Expand Down

0 comments on commit d01f660

Please sign in to comment.