Skip to content

Commit

Permalink
remove zIndex: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
moskalakamil authored Nov 27, 2024
1 parent 8433727 commit ebabd96
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,6 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
const _style: StyleProp<ViewStyle> = useMemo(
() => ({
...StyleSheet.absoluteFillObject,
...(showPoster ? {zIndex: 1} : {}),
}),
[showPoster],

Check failure on line 777 in src/Video.tsx

View workflow job for this annotation

GitHub Actions / Lint JS (eslint, prettier)

React Hook useMemo has an unnecessary dependency: 'showPoster'. Either exclude it or remove the dependency array.
);
Expand Down

0 comments on commit ebabd96

Please sign in to comment.