feat: update loading skeleton and playlist handling for main playlists
This commit is contained in:
@@ -99,7 +99,8 @@ export function Player({ className, onPlayerModeChange }: PlayerProps) {
|
||||
|
||||
// Listen for player state updates
|
||||
useEffect(() => {
|
||||
const handlePlayerState = (newState: PlayerState) => {
|
||||
const handlePlayerState = (...args: unknown[]) => {
|
||||
const newState = args[0] as PlayerState
|
||||
setState(newState)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user