feat: update loading skeleton and playlist handling for main playlists
Some checks failed
Frontend CI / lint (push) Failing after 17s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-08-16 01:21:34 +02:00
parent 7b01ace746
commit f6117ededd
13 changed files with 141 additions and 55 deletions

View File

@@ -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)
}