Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
Co-authored-by: Fernando Jorge Mota <fjorgemota@users.noreply.github.com>
  • Loading branch information
renatho and fjorgemota committed Aug 5, 2022
1 parent 55bef02 commit b2a3fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/shared/helpers/player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Player {
*
* @param {Object} player Player instance.
*
* @return {number} The video duration.
* @return {number|undefined} The video duration.
*/
export const useVideoDuration = ( player ) => {
const [ duration, setDuration ] = useState();
Expand Down

0 comments on commit b2a3fe2

Please sign in to comment.