Skip to content

Commit

Permalink
Update a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
karpov-kir committed Jun 21, 2024
1 parent ca36284 commit 714089e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BitmovinPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export const BitmovinPlayer = forwardRef(function BitmovinPlayer(

setRef(playerRefProp, player);
},
// Only the first player ref is relevant and should be used to avoid unnecessary callbacks.
// Only the first `playerRef` is relevant and should be used to avoid
// unnecessary ref callback invocations (in case the `playerRef` is a ref function).
// eslint-disable-next-line react-hooks/exhaustive-deps
[],
);
Expand Down

0 comments on commit 714089e

Please sign in to comment.