mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 21:05:42 +00:00
Added force-dynamic caching to SpotifyPlayer
This commit is contained in:
parent
610bb0c272
commit
c0edbe47eb
@ -188,6 +188,8 @@ Song.Skeleton = function SongSkeleton() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic'
|
||||||
|
|
||||||
export function SpotifyPlayer(): ReactElement | null {
|
export function SpotifyPlayer(): ReactElement | null {
|
||||||
const currentlyPlaying = usePlayerState('currently-playing')
|
const currentlyPlaying = usePlayerState('currently-playing')
|
||||||
const lastPlayed = usePlayerState('last-played')
|
const lastPlayed = usePlayerState('last-played')
|
||||||
|
Loading…
Reference in New Issue
Block a user