check changes on states

This commit is contained in:
SrGooglo 2025-06-16 20:50:25 +00:00
parent 6f72701106
commit 66a7395ea4

View File

@ -56,7 +56,9 @@ export class WithPlayerContext extends React.Component {
events = {
"player.state.update": async (state) => {
if (state !== this.state) {
this.setState(state)
}
},
}