Skip to content

possible bug #4

Open
Open
@pgmjic

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.

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