Added force-dynamic caching to SpotifyPlayer

This commit is contained in:
Ryan Freeman 2023-08-05 23:17:15 +01:00
parent 610bb0c272
commit c0edbe47eb

View File

@ -188,6 +188,8 @@ Song.Skeleton = function SongSkeleton() {
)
}
export const dynamic = 'force-dynamic'
export function SpotifyPlayer(): ReactElement | null {
const currentlyPlaying = usePlayerState('currently-playing')
const lastPlayed = usePlayerState('last-played')