You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: