-
-
Notifications
You must be signed in to change notification settings - Fork 538
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
Update ZONE connector #4532
base: master
Are you sure you want to change the base?
Update ZONE connector #4532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes needed to satisfy typechecking and linting, think these should do the trick
Update src/connectors/zeno.ts Co-authored-by: yayuyokitano <69117606+yayuyokitano@users.noreply.github.com> Update src/connectors/zeno.ts Co-authored-by: yayuyokitano <69117606+yayuyokitano@users.noreply.github.com> Apply suggestions from code review Co-authored-by: yayuyokitano <69117606+yayuyokitano@users.noreply.github.com> npm run prettierfix
// There seems to be some kind of race condition here because we should expect the <audio>.paused state to be inverted. | ||
// But that's how it works now and the play/pause button toggles the states correctly. | ||
return !!( | ||
document.querySelector('#audioPlayer') && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
document.querySelector('#audioPlayer') && |
This is redundant, as the null check is already handled by optional chaining
the connector is updated to changes on the site