Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Week 6: Add sound for send-message and toggle button #161

Merged
merged 6 commits into from
Sep 3, 2022

Conversation

asaiapalacios
Copy link
Collaborator

@asaiapalacios asaiapalacios commented Sep 2, 2022

closes #160

Note: made edits based on feedback. PR is no longer for testing purposes. Seeking testing & approval to merge to our main branch.

For setup, run: npm install use-sound

  • removed sound for sign-in and sign-out buttons.
  • used Josh W. Comeau's sound files, creator of use-sound React hook, for send-message and toggle button sounds

@asaiapalacios asaiapalacios changed the title Week 6: Add sound for testing purposes to 3 JSX elements Week 6: Add sound for send-message and toggle button Sep 3, 2022
@viniciuspietscher
Copy link
Collaborator

I like the sounds a lot! And it works great!

I'm just getting a warning on my console:
image

I tried moving the imports and the useSound hook to the navbar instead of the context file and it still works and I didn't get a warning.
image

@asaiapalacios
Copy link
Collaborator Author

Thanks, Vini, for the input. I'll go ahead and make those changes.

Copy link
Collaborator

@viniciuspietscher viniciuspietscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@asaiapalacios asaiapalacios merged commit 06f0fe5 into main Sep 3, 2022
@asaiapalacios asaiapalacios deleted the week06-add-sound branch September 3, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sound: to enhance the user experience
2 participants