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

dashboard: fix alert audio #1002

Merged
merged 2 commits into from
Aug 22, 2024
Merged

dashboard: fix alert audio #1002

merged 2 commits into from
Aug 22, 2024

Conversation

koonpeng
Copy link
Collaborator

@koonpeng koonpeng commented Aug 21, 2024

  1. fix react hooks eslint config
  2. remove docs saying that it must be a .wav file, it should support any format supported by the browser, .wav is highly discouraged because of the filesize.
  3. fix new alert element being created with every render.
  4. fix other hooks violations

Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com>
Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com>
Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

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

Thanks for polishing it up! LGTM!

@koonpeng koonpeng merged commit fc440d1 into main Aug 22, 2024
2 checks passed
@koonpeng koonpeng deleted the koonpeng/fix-alert-audio branch August 22, 2024 02:28
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.

2 participants