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

Fix absent state in YoutubePlayer #3073

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Fix absent state in YoutubePlayer #3073

merged 1 commit into from
Dec 13, 2024

Conversation

MonkeyDo
Copy link
Member

Reported on sentry (e.state is null): https://sentry.metabrainz.org/organizations/metabrainz/issues/55/

This use of component state is left from previous code, as the state is not set or used anywhere else in this component. No wonder it is throwing an error while trying to access currentListen from the state as a fallback mechanism.

Reported on sentry: https://sentry.metabrainz.org/organizations/metabrainz/issues/55/

This is left from previous code, as the state is not set or used anywhere in this component. No wonder it is throwing an error
@MonkeyDo MonkeyDo requested a review from anshg1214 December 10, 2024 18:45
@MonkeyDo MonkeyDo merged commit 5538b9b into master Dec 13, 2024
2 checks passed
@MonkeyDo MonkeyDo deleted the youtube-player-state branch December 13, 2024 12:04
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.

1 participant