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

Update ZONE connector #4532

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bes-internal
Copy link
Contributor

the connector is updated to changes on the site

@inverse inverse added updated For things that were updated, e.g. connectors, icons patch-change For patch changes labels Feb 21, 2024
Copy link
Member

@yayuyokitano yayuyokitano left a 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

src/connectors/zeno.ts Outdated Show resolved Hide resolved
src/connectors/zeno.ts Outdated Show resolved Hide resolved
src/connectors/zeno.ts Outdated Show resolved Hide resolved
src/connectors/zeno.ts Outdated Show resolved Hide resolved
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') &&
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
document.querySelector('#audioPlayer') &&

This is redundant, as the null check is already handled by optional chaining

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-change For patch changes updated For things that were updated, e.g. connectors, icons
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants