Skip to content

possible bug #4

Description

@pgmjic

I have found this sample code very helpful while learning React Hooks. As I was getting to the end, I found a problem with useMusicPlayer.js at line#12. I had to add an if test prior to calling pause() since the audioPlayer was never instantiated at the start.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions