Refactor playerState subscription for better readability
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
requestAnimationFrame(() => resetScroll());
|
||||
});
|
||||
|
||||
playerState.subscribe((player) => {
|
||||
playerState.subscribe(() => {
|
||||
requestAnimationFrame(() => resetScroll());
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user