Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

possible bug #4

Open
pgmjic opened this issue May 28, 2020 · 0 comments
Open

possible bug #4

pgmjic opened this issue May 28, 2020 · 0 comments

Comments

@pgmjic
Copy link

pgmjic commented May 28, 2020

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant